Skip to main navigation Skip to page content
Indiana University Northwest

Web Services and Web Technical Infrastructure

Sample Form

Please note that fieldnames cannot have spaces. You may use _ or - for longer named fields (see examples).

Contact Information

Sample for Text Field

  • Size = size of box
  • Maxlength = # characters for field length
  • Initial value example: state = Indiana
First Name:
Last Name:
Address:
City:
State:
Zip Code:
Phone:
E-mail Address:

Sample for Text Area

Enter Comments below:

Sample for Check Box

Allows one choice

  • One field name
  • Different values
Like recess
Hate recess

Multiple choices

  • Multiple field names
Likes vacations
Likes weekends
Hates vacations
Hates weekends

Sample for Radio Group

  • fieldname or name = fruit
  • value = choices

Fruit Choice


Sample List/Menu

  • fieldname or name = snack
  • option = choices

Snack Choice hold ctrl key for multiple selections)


  • fieldname or name = home_snack
  • option = choices
  • option selected = None

Same list displayed differently allows one choice notice None is initially selected

Home Snack


Sample for Radio Button

  • fieldname or name = like_making_forms and fieldname or name = have_life_outside_work_school
  • value = yes or value = no
Likes making forms? Yes No
Have a live outside of school or work? Yes No
  

Submit Buttons

  • submit button name = submit
  • submit value = wording on button
  • reset button name = reset
  • reset value = wording on button