Opened 11 years ago

Last modified 7 years ago

#13673 closed enhancement

Asynchronous validation for ValidationTextBox — at Initial Version

Reported by: William Riley Owned by: Douglas Hays
Priority: high Milestone: 1.13
Component: Dijit - Form Version: 1.6.1
Keywords: Cc:
Blocked By: Blocking:

Description

In a lot of cases, you might want to validate a textbox against a datastore or some sort of backend, eg to make sure a username isn't taken. Currently ValidationTextBox? only supports synchronous validation, which limits what you can do.

The only problem with implementing this sort of thing is that validation when submitting a form can't be done asynchronously, but I think in most cases, the async validation call will be fast enough that the validation can be done before the user has the chance to submit the form (or even have an argument specifically for doing synchronously). Another option is to just assume the field is invalid internally until the async validation has finished.

Change History (0)

Note: See TracTickets for help on using tickets.