Don't you think that would get old quickly for the user on a page with 200
or so inputs?  I know come about my 15th mistake I would be rather annoyed
by my 15th alert box.  Although I still think that is just way too many
inputs for one page for any user who still maintains some level of sanity.

On Tue, Jan 27, 2009 at 11:52 AM, charlie arehart <
[email protected]> wrote:

>  Ramon (and others who might ever face such a challenge), while all the
> suggestions so far are good ones, still one more that may suit your needs
> would be to change CF's validation to happen when the user leaves the field,
> rather than waiting until they submit the form.
>
>
>
> That's now an option, as of CF 7, though many missed the change. There's a
> new ValidateAt attribute, and the values are onsubmit, onblur, and onserver.
> You can specify multiples (including all 3) by separating them with commas.
> OnBlur is the one that enables the new behavior to validate when they leave
> (the term "blur" refers to leaving a field, as opposed to giving "focus", or
> moving the cursor, to a field). For those who may be curious, the OnServer
> form of validation does the work of creating the hidden fields for the
> old-style server validation.
>
>
>
> Hope that may help someone.
>
>
>
> /charlie
>
>
>
> BTW, I don't say this at all to discourage people considering the other
> options, all of which are useful and have their place. Just pointing out
> this change in the built-in features. I did an article in my back page
> "TipicalCharlie" column in the FAQU a few issues ago (Vol ii Issue ii,
> "CFFORM: Are You Sure You Want to Ignore It?") where I highlighted this and
> many other enhancements in CFFORM that may warrant giving it some renewed
> attention. Still, I do realize that those using other solutions find them to
> offer even more power.
>
>
>
> *From:* [email protected] [mailto:[email protected]] *On
> Behalf Of *Ecung II,Ramon J
> *Sent:* Monday, January 26, 2009 5:28 PM
> *To:* [email protected]
> *Subject:* [houcfug] CFFORM Question
>
>
>
> Hey, I've got a quick question. I have a form with about 200 questions on
> it with all of the questions being required.
>
>
>
> Right now if a user doesn't input any data and just hits submit, an alert
> box pops up that is too large for the screen. Does anyone have any ideas
> about how make this more user-friendly?
>
>
>
> Ramon Ecung, BS, ACHDS, MCP
>
> Support Services Analyst - Web Application Developer
>
> Division of Cancer Medicine - FC10.2005
>
> 713-794-4273 | [email protected] | Unit 421
>
>
>
>
>
>
>
>
>
> >
>


-- 
Aaron Rouse
http://www.happyhacker.com/

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

Reply via email to