Validation user input VS Javascript

B

betterdie

Hi all;

I code Perl for CGI, I using regular expression to check the validation
of user input, because the form is small and it run only from my own
computer, anyways if many people using my form, do you think it will be
slow due to Perl is run under server. How about using JavaSCript to
check validation for user input? Do you think it a bit faster?

Thank very much

Phal
 
M

Mantorok

Hi all;

I code Perl for CGI, I using regular expression to check the validation
of user input, because the form is small and it run only from my own
computer, anyways if many people using my form, do you think it will be
slow due to Perl is run under server. How about using JavaSCript to
check validation for user input? Do you think it a bit faster?

If you are posting back to the server everytime you validate this field then
yes - it will be much slower than validating it using Javascript (or
VBScript) as that runs on the client.

Kev
 

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

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,143
Latest member
DewittMill
Top