Custom Validate

G

Guest

Hi,

I am using Cutom Validator to validate email address for a twext box. I
have a vfunction named ValidateEmailID. if I use this function in
ClientValidationFunction it doesn't work and gives me error message. But if
I use this on ServerValidate it works.
I am wonderering what's the difference between ClientValidationFunction and
OnserverValidate and why it was not working on Client side.
 
G

Guest

Hi,

I am using Cutom Validator to validate email address for a twext box. I
have a vfunction named ValidateEmailID. if I use this function in
ClientValidationFunction it doesn't work and gives me error message. But if
I use this on ServerValidate it works.
I am wonderering what's the difference between ClientValidationFunction and
OnserverValidate and why it was not working on Client side.

ClientValidationFunction sets the name of the client-side script
function used for validation, and OnServerValidate event has to be
wired up to the server-side validation event handler. So, to make
ClientValidationFunction working with ValidateEmailID you should have
ValidateEmailID as a client script
 
B

bruce barker

the ClientValidation runs on the client side and must be written in
javascript.

-- bruce (sqlwork.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top