For something like this I tend to use a combination of libraries.  Offhand
I'd probably end up using qForms(yes, I know, old school) and Spry, Spry to
divide the thing up into sections and qForms for its validation.  For some
reason jQuery's form validation has just not bought me as a user but
probably because I have made so many custom functions to work with qForms
over the years that just not been a need to change my validation methods.

On Mon, Jan 26, 2009 at 4:52 PM, Chris Watkins <[email protected]> wrote:

> You are my hero! That is cool stuff. I've been doing much less in CF and
> more in Grails these days, and it's great to remember that Javascript does a
> lot of cool stuff like that. Grails comes with support for prototype and
> YUI. I will check if there is a plugin for jQuery, too. By support, I mean
> that there are Grails tags (e.g. AJAX) that will adapt themselves to
> generate client code compatible with the Javascript library of your choice,
> requiring nothing more than telling Grails which library you're using.
>
> Thanks!
> Chris
>
>
> On Mon, Jan 26, 2009 at 4:49 PM, Ken Auenson, II <[email protected]>wrote:
>
>> Ramon,
>>
>> The built-in features in CFForm are good for the majority of use cases
>> when you are dealing with simple forms, but when you start dealing with
>> trying to customize the javascript features, it is sometimes better to look
>> elsewhere.
>>
>> I personally use jQuery for all of my JS functionality these days and
>> there are great form validation functionalities built in.
>> http://docs.jquery.com/Plugins/Validation
>>
>> This allows the "this field required" text to be placed next to the form
>> element when the user attempts to submit the form, instead of in one large
>> pop-up.
>> (try the demo on that page)
>>
>> hope this helps!
>>
>> --
>> Ken Auenson
>>
>>
>> On Mon, Jan 26, 2009 at 4:27 PM, Ecung II,Ramon J <[email protected]
>> > wrote:
>>
>>>  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