Categories | Question details Back To List | ||
[COMBO] Limit only to options from list Hello - i've browsed through knowledge base but not found complete solution Requirements - Combo is blank by default - By typing in it I would like to filter the list of options (taking into account not only begining of string but whole string). No autocomplete. - Do not let user leave invalid option in combo (only blank or any option from list allowed). So if user clicks outside of it, it becomes blank if was not selected with valid entry from list. Answer posted by Alex (support) on Mar 10, 2009 10:02 Hello, combo.attachEvent("onChange",function(){ if(combo.getSelectedValue()!=combo.getActualValue()) combo.setComboText("") })
|