Drop down list - I am not even sure what should I call this functionality that I am trying to build. Basically I was wondering how can I make my drop down list smart enough to select based on more than one character.
i.e. in a drop down for Country, currently if I type "C" it will select first country starting with 'C' and if I type "A" after that it will go to first country starting with "A".
I want to be able that if user typed 'C" and 'A' it selects first country starting with CA.
Is it possible to do this in Live cycle Designer?
Thanks a lot folks
Solved! Go to Solution.
Views
Replies
Total Likes
When you want more than going to the item starting with the letter typed then you'll need some code.
There's an example of this sort of thing in the thread,
http://forums.adobe.com/message/2533766
Look in the change event of the Search text box.
Bruce
Views
Replies
Total Likes
Try checking the checkbox "Allow Custom Entry" for the dropdown.. It will sort the list based on the characters you enter..
If the characters does not match then it does not highlight any list value.
Thanks
Srini
Views
Replies
Total Likes
When you want more than going to the item starting with the letter typed then you'll need some code.
There's an example of this sort of thing in the thread,
http://forums.adobe.com/message/2533766
Look in the change event of the Search text box.
Bruce
Views
Replies
Total Likes
Thanks Srini,
I am not looking for adding new entry in drop down list , I was looking to give users to select from list by typing more than one character. As I said in my example, for selecting Canada from list of contries user will type C and then A and drop down goes to first country starting with CA.
Views
Replies
Total Likes
Bruce,
This is awesome, you are bang on , I just tested it in designer and it works .
Thanks a lot
Views
Replies
Total Likes
Just one more question Bruce,
You have a text field for country names and it works showing the list, I tired to change type from Text field to type drop down list and it doesn't work.
Is there any way that we can use your code with having actual drop down list instead of a text field type?
THX,
Views
Replies
Total Likes
I know it is a bit hacky, but I think I had trouble updating the items in the dropdown list when the list was open.
Let me know if you manage it.
Bruce
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies