What you're doing below sounds exactly like what I need for some 
specific forms that seem to have  lot of business users with no JS. I 
haven't completely wrapped my head around what you're doing though.

Is there a good reference for your method somewhere on the web I can 
study, or do you mind going a little deeper into detail?

Thanks, LGM


> Your description of the function of ex2_process.cfm sound exactly
> like what I do now with server-side validation.  (At this point there is
> no client-side validation involved...)
> 
> I have the user complete the form, which submits back to the page
> it's a part of, then I run code against all the field inputs that I want
> to validate.  I create a Form_Errors struct, and add error messages
> to that as each input is validated.
> 
> Once all is validated, if there are no error messages in the Form_Errors
> struct, then the data is processed and put into the db or whatever
> is happening with it.
> 
> If there are errors, the errors are displayed above the appropriate
> input and the users is informed as to what the problem is and perhaps
> a solution, as in a date format error.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:275775
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to