Let's look at some forms!

Text-related Form Elements

Text Input

Each input should a unique 'name' attribute

What is your name?

* indicates required fields

Textarea Input

Each textarea should also have a unique 'name' attribute

Option-related Form Elements

Checkbox Input

All checkbox inputs should have unique (but similar) 'name' attributes and different 'value' attributes

How do you get to class?

Radio Input

All radio inputs of the same group should have the SAME 'name' attributes, but different 'value' attributes

What program are you in?

Complex Form Elements

Date Input

Each date input should have a unique 'name' attribute

Dropdown Input (select/options)

Each dropdown should have a unique 'name' attribute on the "select" element, and unique 'value' attributes on each "option" element

Button-related Form Elements

Button Inputs

A button input does not need a 'name' attribute, but to change the text inside the button, you will need to use the 'value' attribute.