Drop Down List using presence property script AND Allow Custom Text Entry?



I have a form with a drop down list. When a particular item is selected from the drop down list, a corresponding text box becomes visible. (This presence property script is in the drop down change event.) This feature works perfectly.

Now I also need to allow for custom text entry on this same drop down list, but when I check Allow Custom Text Entry only one character can be typed into the drop down list on the form.

Is there a way to use both of these features in the same drop down list???

(If I comment out the presence property script in drop down change event, the Allow Custom Text Entry works as it should.) How can I use both features?





It is trying to execute the code in "change" event as soon as you type in first character. For better understanding if you want to type in "Abc" in the dropdown field it is treated as 3 change events first one triggered as soon as you type in "A".

So best way to deal with this is move the code in change to "exit" event. And see if that resolve the issue.