View Full Version : [CLOSED] Combobox - Validation

Jul 19, 2012, 5:11 PM
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:

.SelectOnTab(True) _
.MultiSelect(False) _
.TypeAhead(True) _
.ForceSelection(True) _
.ValidateOnBlur(True) _
.ValidateOnChange(False) _
vldtr.Fn = "validateCombo"
End Sub) _

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?


Jul 19, 2012, 8:23 PM

What about to do not set up this

leaving the default true?

Jul 20, 2012, 1:50 AM
That doesn't work. It interfers with me having the TypeAhead and validating that a record from the combo has actually been selected. For now, I have bound a listener to the Select event at the "onReady" event. That seems to be workking - at least until I find otherwise. You may close the ticket.