You might be checking it 6 or 8 times if the user can't get all the fields filled in correctly. Creates a lot of traffic that isn't necessary between server and client.
If javascript isn't enabled, there isn't a choice but if it is then the client side can prompt the 6 or 8 times until the user gets it correct.


Cranky Kong wrote:
Yes but if the fields are well filled, you will check all 2 times, the first
time on the client side to know that the fields are filled.
And a second time on server side to check the data before inserting them in
a DB for examples...
So why make 2 tests, if only one is good.

The reloading of the page is very fast.


"Marek Kilimajer" <[EMAIL PROTECTED]> a écrit dans le message de news: [EMAIL PROTECTED] If the user is disabled, the user will be bothered to wait till the page reloads, sure there MUST be server side check

Cranky Kong wrote:


And what are you doing if the javascript is not enabled in the browser of
the client ???
There will be no verification and the user can enter what he want in the
field of your form....
And it's a bit dangerous for your DB if your insert data in a DB...


"Marek Kilimajer" <[EMAIL PROTECTED]> a écrit dans le message de news: [EMAIL PROTECTED]



Not bothering the user to wait till the next page loads

Liam Gibbs wrote:




If you want to validate form data before sending it, javascript is the
choise.





Yeah, before sending it. Just wondering what the advantage is in




validating




before sending.















--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to