Non-visible required field needs validation?
-
Hi there
I am asking customers at checkout where they heard about my website. The last options is Other. If they chose this option they are shown a text box and asked to enter the website name or URL.
If they chose any other option, eg Google and click Place Order, they receive the error “<field label> is a required field.”Can validation be turned off for this non-visible field please? If they select Other, I need this text field to be completed. If I don’t make it a required field, they will not need to fill it in.
So needs to be required only when visible, and not required when not visible.
Can this be done?
Thanks in advance
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Non-visible required field needs validation?’ is closed to new replies.