Home › Forums › Porto Template › Checkbox required
I’m trying to add a checkbox that needs to be checked to a recaptcha v3 form.
As soon as I add the the “required” attribute to the checkbox on the bottom, I get a recaptcha error. If I leave “required” out, I can submit the form.
Feel free to submit the form from the Website URL above for testing.
It´s missing the attribute name in the checkboxes. For example:
<input class="form-check-input" type="checkbox" name="invalidcheck" value="" id="invalidCheck" required />
* Do the same for all other checkboxes.
Please try that and let us know if you need further assistance.
Thank you so much – that did it! All I was missing was the name= tag!
If you need further assistance feel free to contact us.