Acceptance box does not disable the submit button
-
Yo o/,
My problem is that i set a up a contect-form for my localhost test site with my custom theme. I inserted an “acceptance” part to the form, but the button is not been disabled. It is still clickable. When i press the button, without checking the acceptance box it’s still throws back an error, so my only problem: Why is the acceptance tag, does NOT disable my button until required field are filled?My wpcf7 form:
<label> Name (required)
[text* your-name class:form-control] </label><label> Email (required)
[email* your-email class:form-control] </label><label> Message
[textarea your-message class:form-control] </label>[submit “Send”]
[acceptance]I have read and accept the privacy policy.[/acceptance]
The CSS on two different pages:
My page:
<input type=”submit” value=”Send” class=”wpcf7-form-control wpcf7-submit”>A working page:
<input type=”submit” value=”Submit Message” class=”wpcf7-form-control wpcf7-submit” disabled>From my page the “disabled” attribute is missing and i dont know why.
- The topic ‘Acceptance box does not disable the submit button’ is closed to new replies.