Avatar

Level 7

Does the change to the field occur while the user is typing in numbers, after they exit the field, or after clicking a button to submit the form? I ask because that could help determine where the validation is occurring. It might not be part of the XML for the text/number field at all.

For instance, here's an example of a field that has a ssn validation pattern, a button that checks to ensure the number entered is divisible by 9, and a script on the change event to be sure it stops at 9 characters. Since each part of that takes place at a different point, the two scripts and pattern are spread out. I included the XML and where they came from.

751780_pastedImage_54.png