In case this has never come up for you before, and for anyone reading this later in our archives: The reason you should always have server-side validation is that the user could have JS turned off. If you are on an intranet where the user environment is controlled, it is less of an issue, but for internet facing sites it is very important. In general, you want to do everything you can to prevent users from ever seeing a ColdFusion error. I can't speak to 508 issues, but i am not sure how screen readers would handle the JS validation, either.
Good luck! -- Ken -----Original Message----- From: Aaron Rouse <[email protected]> Sent: Tuesday, January 27, 2009 9:16 AM To: [email protected] Subject: [houcfug] Re: CFFORM Question You really should have had server side checking anyway. I'd take a quick look at jQuery form validation or any of the other JS offerings, you probably could quickly get it in there when taking out some of the CFFORM stuff. On Tue, Jan 27, 2009 at 8:50 AM, Ecung II,Ramon J <[email protected]> wrote: Something along the lines of this: <cfif not len(textbox1)> <cfset errorMsg = "textbox1 is required"> </cfif> From: [email protected] [mailto:[email protected]] On Behalf Of Ajas Mohammed Sent: Tuesday, January 27, 2009 8:48 AM To: [email protected] Subject: [houcfug] Re: CFFORM Question By server side messaging you mean _Required hidden fields or something else? <Ajas Mohammed /> [The entire original message is not included] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the "Houston ColdFusion Users' Group" discussion list. To unsubscribe, send email to [email protected] For more options, visit http://groups.google.com/group/houcfug?hl=en -~----------~----~----~----~------~----~------~--~---
