I have a modular page with more than one form. Everything works as expected but the page doesn’t validate.
The reason for this is that each form has a field as follows
<input type="hidden" id="form-nonce" name="form-nonce" value="********" />
As you can see, the input has an id of
form-nonce and you can only have one instance of an id per page if you want to be able to pass HTML validation.
Also, the value for each
form-nonce is the same for every form, should it be different?