in reply to Re: Empty form fields error message
in thread Empty form fields error message

Using Javascript (JS) for checking a field is no good idea.

Update: OK, for slow connections client-side checking is a good idea, as long as you keep the server-side checking. But hey, why do a job twice?
  • Comment on Re: Re: Empty form fields error message

Replies are listed 'Best First'.
Re: Re: Re: Empty form fields error message
by data64 (Chaplain) on Nov 25, 2001 at 08:54 UTC
    Imho JS checks should be added to make it more user friendly. Especially for users that have a dialup or slow connection. If JS is not supported by the browser the user experience just degrades a little.
    In any case, the server has to do the checking too. This is not only because the browser may not support JS, but it is possible for a malicious person to take your html page and submit the doctored version.