I
InfoHound
After a user enters several fields of data into a repeating group, I'd like
to traverse the collection of values and evaluate them using conditional
statements. I don't have Visual Studio.Net, so I need to work in Jscript.
For example, if there's a textbox with a field name Field10 in a repeating
group, and a user enters Schnauzer, German Shepherd, and then Schnauzer a
second time, I want to run some code in the OnAfterChange event (I think) to
evaluate each of the entries the user made. If I find a duplicate, I want to
clear that instance and display a message to the user "You already chose that
value". Can I do this using the J scripting language? How can I loop through
the values that a user entered in a field in a repeating group (all values
were entered into instances of a field that I only know as Field10). Thanks
for any advice provided.
to traverse the collection of values and evaluate them using conditional
statements. I don't have Visual Studio.Net, so I need to work in Jscript.
For example, if there's a textbox with a field name Field10 in a repeating
group, and a user enters Schnauzer, German Shepherd, and then Schnauzer a
second time, I want to run some code in the OnAfterChange event (I think) to
evaluate each of the entries the user made. If I find a duplicate, I want to
clear that instance and display a message to the user "You already chose that
value". Can I do this using the J scripting language? How can I loop through
the values that a user entered in a field in a repeating group (all values
were entered into instances of a field that I only know as Field10). Thanks
for any advice provided.