Labels Must Be Unique

Be sure to use UNIQUE labels for every form field.

Dog's Info


Favorite foods:



Owner's Info


Favorite foods:



 

<label for="name">Name:</label><br /><input id="name" size="35" />

Favorite foods:

<input name="foods" id="choice1" type="radio"><label for="choice1">Indian</label>

<input name="foods" id="choice2" type="radio"><label for="choice2">Mexican</label>

<input name="foods" id="choice3" type="radio"><label for="choice3">Chinese</label>


In the example above, use something like <label for="your-name"> and <input id="your-name"> for the first fieldset, and <label for="spouse-name"> and <input id="spouse-name"> to distinguish the fields.