Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: wordsmithing

...

  • The "required" validator adds the "required" attribute to the rendered HTML
  • The "regexp" validator adds the "pattern" attribute to the rendered HTML
  • The "email" validator sets the type attribute to "email" in the rendered HTML
  • The "min" validator sets the type attribute to "number" and adds the "min" attribute in the rendered HTML
  • The "max" validator sets the type attribute to "number" and adds the "max" attribute in the rendered HTML
  • When bound to a number type, the TextField (through NumericTranslator) sets the component sets the type attribute to "number" in the rendered HTML

Server Side Validation

Some validation can't, or shouldn't, be done on the client side. How do we know if the password is correct? Short of downloading all users and passwords to the client, we really need to do the validation on the server.

...