A question about AUI form and AUI validator. Q: How to "DISABLE" the validator after bound to a field?
Context:
When the form loads, there is a selection box of option1 option2, option3, and hidden fields field1, field2, field3.
1.Select "option1", input field "field1" will show up, and bound with A.FormValidator( required:true).
2.Select "option2", input field "field1" will be hidden, "field2" will show up.
At this point, I set the validator for "field1" required:false. But it is still required.
I think the form can't be sent to the server to change required:false. Is there a solution for this? Thanks in advance!
Please sign in to flag this as inappropriate.