What is the html required property ?
-
Hi there.
I managed to get some conditionnal fields on my contact form.
A simple radio input displaying 2 differents text input.
I want to make the displayed input required and remove the other one if needed.At the moment, I’m using a jQuery script. It adds the class “wpcf7-validates-as-required” and the attribute “aria-required=true” to the displayed elements (and remove then to the non displayed input.
Even if this script is working (according to firebug), the form doesn’t take care of those class/attribute.
Did I forget something?
Cheers
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘What is the html required property ?’ is closed to new replies.