Login Register

Forms

Dojo has a number of facilities for dealing with HTML forms:

  • Form Bind - sets things up so that whenever the user hits the submit button, rather than submitting the form in the usual way, and refreshing the entire page, the contents are sent over xmlhttp (or any transport), and then the results are passed to the given callback.
  • dojo.validate.check - validates a form based on a given profile

  • form widgets - there are many form widgets that will validate/correct user input, and also make it easier to input data by (for example) providing a graphical datepicker rather than requiring users to enter a date as a series of number