Just wondering if someone could verify the onchange processing order within Scriptcase and provide a possible solution.
I have a select listbox which is dependent on 2 other select listboxes. I’ll try to describe this the best I can.
Select ListboxA
OnChange event to look up a value
Store the value in a global variableA
Select ListboxB
OnChange event to look up a value
Store the value in a global variableB
For each of the data types above, I also have the Ajax Processing EVENTS onChange configuration set to refresh a select listboxC. The lookup query for listboxC uses the global variables above as predicates in the query.
What I’m noticing is the Ajax Processing EVENTS onChange for listboxA or listboxB fires before the onChange events for ListboxA or ListboxB. So the global variables are not set until after the listboxC lookup query executes. So the new global variable values are not used in the query. Is there a way to force the Ajax Processing EVENTS onChange event from the onChange event for listboxA or listboxB?