Hi All,
I have one list box, in list box click event i am not geting selected value, because the 'commit on' property of list box has selected with 'exit' option. There is another option 'select' but it is disabled. Can any body tell me how to enable 'select' option in 'Commit On' property for list box?
Advance Thanks
Prasad Sagala
Views
Replies
Total Likes
Prasad,
If I recall correctly, in early versions of Designer commit on 'select' was the implicit action. Subsequently, commit on 'exit' was added as the preferred action which coincided with the addition of 'allow multiple selections'.
Effectively, the event model in Designer 8.x and Designer ES does not support commit on 'select'.
Steve
The best way to get the value that the user chose (on the change event) is to use the command xfa.event.fullText)
Paul
Hi Paul,
'xfa.event.fullText' is getting me the seleted item name, but i need to get selected item value.
Thanks
Prasad Sagala
Views
Replies
Total Likes
Once you have the name ...you can query the DDList to get the itemValue. You will need to get the index 1st before you get the itemValue.
This code will do it for you on the change event:
app.alert(this.boundItem(xfa.event.newText))
Paul
Views
Replies
Total Likes
Thank you Paul, i got it.
Views
Replies
Total Likes