I need script to execute once a listbox entry has been selected, but you cannot set script execution in a rule.
I have worked out how to do a conditional sql query using the default data connections string, that all works fine. The data connection is used to populate a list box, in which the contents will populate furthur listboxes. I can set a rule to query a database, but i cannot set that query to be conditional on the first list box. I could connect to the entire table and then filter what i need, but there will be over 1000 rows, and some slow remote sites which will use the form.
In practice, the list box that i have populated represents a manager, and the second list box will be their subordinates.
But back to the question.. how do you map script to a list box selection? (or set a default sql query to conditional on a field)