Dynamic validation on a section based on some condition
Hi,
I am new to Umbraco so not sure whats the right approach to apply the following behavior.
I have created a form and it has a section which I am showing/hiding based on custom javascript code. I have used $('section').show/hide method for it. The problem is I want to apply required validation only when the section is visible.
Dynamic validation on a section based on some condition
Hi,
I am new to Umbraco so not sure whats the right approach to apply the following behavior.
I have created a form and it has a section which I am showing/hiding based on custom javascript code. I have used $('section').show/hide method for it. The problem is I want to apply required validation only when the section is visible.
How can I do that?
thanks
is working on a reply...