Jul 19, 2012, 5:11 PM
[CLOSED] Combobox - Validation
I have a combobox that has TypeAhead enabled - and we want that. However, I need to do 3 things. 1) I need to validate that a valid entry was selected. 2) I need to validate that the entry selected is not the same as the old value. 3) Once validation is completed successfully, I need to enable a button on the page to allow an update. I am using these settings:
And everything is working except if the user presses the enter key to capture the TypeAhead, the validation does not fire. How can I capture that event/key stroke to fire the validation as well?
Thanks.
.SelectOnTab(True) _
.MultiSelect(False) _
.TypeAhead(True) _
.ForceSelection(True) _
.ValidateOnBlur(True) _
.ValidateOnChange(False) _
.Validator(Sub(vldtr)
vldtr.Fn = "validateCombo"
End Sub) _
.QueryMode(DataLoadMode.Local)
And everything is working except if the user presses the enter key to capture the TypeAhead, the validation does not fire. How can I capture that event/key stroke to fire the validation as well?
Thanks.
Last edited by Daniil; Jul 20, 2012 at 9:08 AM.
Reason: [CLOSED]