Validating time in ajax lewisy datingish hk
Basically, use server-side code to validate the form input values. If you run into any problems, post back here with your question and code.
The following code example uses the derived class Text Box and validates an e-mail address that the user enters.
If the e-mail address is not in the standard format (containing "@" and "."), the validation fails, an Error Provider icon is displayed, and the event is canceled.
the validation of one attribute depends on the value of another attribute you can use the when property to define such conditions. The following examples shows how to trim the spaces in the inputs and turn empty inputs into nulls by using the trim and default core validators: You may also use the more general filter validator to perform more complex data filtering.
For example, If you also need to support client-side conditional validation, you should configure the when Client property which takes a string representing a Java Script function whose return value determines whether to apply the rule or not. As you can see, these validation rules do not really validate the inputs.
Instead, they will process the values and save them back to the attributes being validated.