Spartan
Design
University

PLURALSIGHT COURSE


Web Forms

Module 1 - Checklist

  • View 4 example forms supporting autofill
  • View tab index form
  • View checkbox sequencing
  • View best practices checklist

Module 2 - Simple Login Form

  • View a short login form

Module 3 - Long Web Form

  • View a long form broken into four chunks.

Module 4 - JavaScript Validated Form

  • View a JavaScript validated form

Best Practices Checklist

LABELING:

  1. Title your form with the users' needs and goals in mind.
  2. Never label the submit button "Submit", Instead answer the question "I want to..."

CONTENT:

  1. Remove unnecessary questions (short is better)
  2. Make sure optional questions are clearly optional by marking required fields clearly with * or color.

LAYOUT:

  1. Place labels above the corresponding input field
  2. Never do more than one column
  3. Never slice a phone number into parts
  4. Multistep forms and progress indicator (x of y steps)
  5. Use Radio Buttons for less than 5 items and dropdown for more than 5 items

INPUTS:

  1. Use placeholder (to help format information correctly)
  2. Design to support Autofill
  3. Make sure the form is tab key friendly
  4. Order choices logically (MTWRF) or by abc order
  5. Wrap inputs in labels tags

SUBMISSION:

  1. Never use reset buttons
  2. Show a conformation page

ERRORS:

  1. Make sure validation is inline and easily seen.
  2. Don't make validation too strict let the programmer figure it out on the back end.

DESIGN:

  1. Use beautiful design to inspire confidence
  2. High color contrast for use in sunshine
  3. Inputs should be 44px high
  4. Text should be 16 pixels
  5. Group related fields using fieldset
  6. Group labels and inputs (test using photshop blur)
  7. Submit button should be the same width as the input fields
Back to Top