Get Selection from List BoxI am running into a problem where if the user selects one option from my list box and then changes it before finishing with the modal window, the script errors out and thinks there is nothing selected from the list box. I have no idea what is causing this problem or how to fix it. Right now my modal window requires an entry into a text edit box and a selection from a list. I have my modal window set so that there is an "On validate" script that will say enter text or choose from the list if one is missing. right now I am just practicing running it and I keep getting the "select from list" message even though there is clearly something selected in my list.
What is going on???? This is the modal window part of my script.
Win1 = New Window( "7 Day Procedures",
<<MODAL></MODAL>
Data Blending and CleanupRe: Get Selection from List BoxIn the OnValidate function, you set:
L<SPAN class="token operator">=</SPAN>l<SPAN class="token operator"><</SPAN><SPAN class="token operator"><</SPAN>Get <SPAN class="token function">Selected</SPAN> indices
JSL is not case-sensitive, so the variable 'l' no longer refers to the List Box after the first statement.