Answered
Hello,
Does anyone know of a way to make a field change from optional to required based on a selection made from a dropdown list?
For example I have a dropdown list that has option 1-3, and I have a hidden field that is optional. When option 3 is chosen the hidden field is visible, but I would also like it to be required before a submit of the form is possible.
var f = this.getField("myField");
f.required = true;
StevenD