Form validation

From MoonDragon Wiki

Jump to: navigation, search

Right now we only confront the data in a input field against a white list of allowed characters. Special characters like blank spaces are not allowed and this have been giving us trouble.

We don't want to keep a one size fits all aproach with the form validation, but want to give special treatment to different input types. Some of them are

  • Single word text
  • Multi word text (which allows blank spaces)
  • Email
  • Password ( automatic second password verification )

These are the input fields thought until today, please be free to make any suggestions.

Personal tools