I have done quite some work to implement Drop-Down List using reusable fragment. Thanks for BR001_ACP for the excellent help and support.
Click here to access the latest version of the fragment. To test it, simply create a form with a DDL Field with few items. Attached the fragment to the form, then add on the enter event of the DDL Field this code:
DropDownList.show(this);
I am now finalizing the fragment and facing some minor UI/UX issues and trying to improve to the best possible. Following is a summary of required improvements:
1. How to tab to the next field after done from the selection? Now, when you press tab, the focus is lost.
2. Is it possible to write a loop to, say, attach a script to Enter Event for for all DDL fields.
Suppose I want to add the following line of code for all Drop-Down List fields - Enter Event:
DropDownList.show();
I can do that during design time for all Drop-Down List (DDL) fields one at a time. I was wondering if there is a faster method to do the same using script at run time?
See snapshots below to clarify.
Tarek