> the BEST way to do it is to use javascript validation, and if
> it doesn't
> meet your criteria, popup a message and focus on that field.
> that's it :)
If the user has JavaScript disabled, simply implementing client-side
validation wouldn't catch errors.
If you're *only* going to implement one method and cannot dictate what
browser a client should use or it's settings (as in an Intranet), it *has*
to be ColdFusion validation. If you've got time left over on the project, go
back through your application and add in the JavaScript as a courtesy.
The most complete solution would be to use JavaScript initially and then
re-validate the data when it's been returned to the server.
--
Aidan Whitehall <[EMAIL PROTECTED]>
Netshopper UK Ltd
Advanced Web Solutions & Services
http://www.netshopperuk.com/
Telephone +44 (01744) 648650
Fax +44 (01744) 648651
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists