I usually use JavaScript that is triggered by the submit button. This way it
is validated on the client side, and doesn't waste a trip to the server. You
could also use CFFORM elements, which generates the JS for you, but I find
them clunky, and prefer to write my own.
If however you wish to highlight the text that is missing or something like
that, you need to check for it in the called page, then return the user to
the calling page with a custom error message, and with conditional logic,
change the font colours and so on. If you choose this option, you should
also catch all of the form values in session variables and repopulate the
original form with the values they entered so they don't have to re-enter
everything, which really turns users off.
Good luck.
JM
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.