Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Re: Empty form fields error message

by TomK32 (Monk)
on Nov 25, 2001 at 07:53 UTC ( [id://127353]=note: print w/replies, xml ) Need Help??


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.

  • The user might not have JS activated
  • You can go around the JS
  • Servers are more powerful than they were 1999
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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://127353]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-04-25 06:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found