[Gllug] Routers and more importantly, Javascript

will will at hellacool.co.uk
Tue Nov 18 14:41:19 UTC 2003


t.clarke wrote:
>...At present the from is submitted, unvalidated and the server has to
> send back the appropriate 'you have not filled in fields x,y,z' response.
> I believe that javascript embedded in the web form can do some validation,
> but I have never used it and completely ignorant.  Thus if somebody can
> suggest a good book from personal expereince I should be grateful   (or any
> other suggestion).

You can do client side validation with Javascript, but it will not work 
if the client has turned Javascript off, or is posting using a script or 
program.  You would need to keep the server side validation to be sure 
you were not getting erroneous data.

Will.


-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list