Form Examples

Note: These forms all use "echo.php" as the action. This PHP script will just echo the name=value pairs that it receives.


Text Box with default labeled buttons



Text Box with multiple submit buttons



Button

Button with Simple Javascript action

Text Box with a hidden field



Password with get Method (Notice the URL after pressing Submit)


Password with post Method (Notice the URL after pressing Submit)

Note: All of the remaining examples will use the post method.


Radio Buttons
Freshman
Sophomore
Junior
Senior

Check Boxes
I've visited (check all that apply)
Disney World
New York City
Grand Canyon

Drop Down Box
Pick a car:

Scroll List
Pick your favorite hobbies:


Textarea