Why not a javascript form validation routine? It would be quicker since it 
would be client side. Other wise, use a structure to store the form fields. 
Initialize the structure as a session variable before the form is presented 
and have the form pre-populated with default values ("").
Hope this helps
Joel

At 07:15 AM 8/15/00, you wrote:
>Hello. I was wondering what is the best way to have a form
>redisplay with error messages if the user enters in valid input.
>
>Say the user leaves their name blank, and its a required field,
>instead of showing an error page saying they left their name
>blank, I need to redisplay the form, will all their data still
>filled in, and have an generic error message at the top of the page,
>and somehow indicate the particular field that had problems, probably
>by making the label red or something.
>
>Any ideas? I don't need exact code examples, but some logic
>ideas would be helpful. Thanks,
>
>Ryan
>
>------------------------------------------------------------------------------
>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.

------------------------------------------------------------------------------
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.

Reply via email to