Pass Input Select List Captions
- Include an Input Hidden element in your definition (users will not see it), as shown above.
- Use an Event Handler to capture the onChange event beneath your Input Select List.
/* get index of selected item in Input Select List (ISL) */
If you wish to submit the page right after the selection is made in the ISL, un-comment the next-to-last two lines and provide the definition name.
As you can see, the code stuffs the Caption (text) of the ISL's selected item into the Input Hidden and you can then read it in the next definition using @Request.myInputHiddenID~.
Please sign in to leave a comment.