Quote:
Originally Posted by kyhryt
I'm getting the following errors:
Error Line 76, Column 82: Attribute input not allowed on element button at this point.
…mit" input name="submit" type="submit" id="submit" value="SEND"> SEND</button>
|
You have an invalid attribute named
input (with no value) within the following tag:
Code:
<button class="submit" input name="submit" type="submit" id="submit" value="SEND">
You should remove the offending attribute.
Quote:
Originally Posted by kyhryt
Error Line 70, Column 40: The for attribute of the label element must refer to a form control.
<label for="antispam" class="fontcolor">Anti-Spam (14 + 6)*</label>
|
The
for attribute associates a
label element with its respective form control via the form control element's
id attribute value. I'm guessing the form control that that label is associated with is represented by the following code:
Code:
<input name="addition" id="formStyleInsert" placeholder="14+6" required />
Therefore, the value of your
for attribute should be
formStyleInsert.