By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,414 Members | 1,057 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,414 IT Pros & Developers. It's quick & easy.

Validation user input VS Javascript

P: n/a
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

Nov 19 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a

<be*******@gmail.com> wrote in message
news:11*********************@g49g2000cwa.googlegro ups.com...
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
Nov 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.