Please see my comments below.

>Jon,
>
>> One guy hacking it, is probably going to be more efficient
>> with his own stuff.
>
>I immensely disagree with this statement (of course, I wrote the API. <g>) I
>think even individuals greatly benefit from qForms. I don't really equate
>Fusebox and qForms, because qForms isn't telling you how to do your work,
>it's helping to do your work faster. I consider it a RAD API for dealing
>with forms. 
>
>For example, take the following lines of code:
>
>oForm = new qForm("frmExample");
>oForm.required("name,contactVia");
>oForm.email.createDependencyTo("contactVia", "email");
>oForm.email.validateEmail();
>oForm.address1.createDependencyTo("contactVia", "postal");
>oForm.city.createDependencyTo("contactVia", "postal");
>oForm.state.createDependencyTo("contactVia", "postal");
>oForm.zipCode.createDependencyTo("contactVia", "postal");
>oForm.contactVia.enforceDependency();
>
>With the above 9 lines of JavaScript, I just wrote a form that does the
>following:
>
>- Prevents duplicate submissions (i.e. the submit button becomes disabled
>  after the browser sends the request to the server.)
>- The "name" and "contactVia" fields are both required.
>- If a value is entered for the "email" field, it's checked to make sure
>  the e-mail address appears to be syntactically correct.
>- If the "contactVia" field is equal to "postal", then the "city", "state"
>  and "zipCode" fields all become required.
>- If the "contactVia" field is equal to "email" then the e-mail field
>  becomes required.
>- The form elements can be of any type. The majority of qForm methods are
>  element agnostic--meaning they work with any type of form elements. This 
>  means the "contactVia" element could be a text, hidden, select, radio,
>  checkbox, etc.
Nice!

Would it solve js problems I described in the following thread?
http://www.houseoffusion.com/cf_lists/index.cfm?method=messages&threadid=25711&forumid=4

Thanks.

>
>Granted, it means you may spend less time writing and testing a bunch of
>JavaScript, but I'd rather be working on the UI aspects of my project than
>writing the same kind of functionality over and over.
>
>- Dan
> ....................................... 
>: Name:   Dan G. Switzer, II            :
>: E-mail: [EMAIL PROTECTED]       :
>: Blog:   http://blog.pengoworks.com/   :
>:.......................................:
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to