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="dog-name"> and <input id="dog-name"> for the first fieldset, and <label for="owner-name"> and <input id="owner-name"> to distinguish the fields. Also change the for and id for each radio button - "owner1", "dog1" etc.