locked_user sundialsvc4 has asked for the wisdom of the Perl Monks concerning the following question:
I need to be able to easily generate HTML forms that do JavaScript validation if JavaScript is installed, but that work just as well if it doesn't. In the usual Perl philosophy of "DRY," I don't want to have to do anything twice ... nor in two different ways.
Note that I do not have a large number of forms to deal with in this case. But... “laziness is a virtue, you know.”
I was rather bemused to see that www.formbuilder.org now has a slug-line at the top of the page, telling us how we all should switch from Perl to Ruby! (Heh.)
I am rather impressed with the JavaScript effect that can be had from the wForms.js library (www.formassembly.com), but I'm mildly-surprised not to see a CPAN module specific to it. (I like the "repeating group" functionality, because that's exactly one thing that I will often need to do.
I see that FormFu has the capability to use templates, which I think would be quite important to me in this application. It also seems to be the most-recently updated module that I have yet seen ... a new update posted just a few days ago. But it's (blink...) rather daunting, and I just don't have a lot of time in which to decide.
War-stories and warm advice are most welcomed...
Replies are listed 'Best First'. | |
---|---|
Re: HTML forms ... "whew!" Advice?
by Your Mother (Archbishop) on Jan 08, 2009 at 06:49 UTC | |
by locked_user sundialsvc4 (Abbot) on Jan 09, 2009 at 20:18 UTC | |
Re: HTML forms ... "whew!" Advice?
by Popcorn Dave (Abbot) on Jan 08, 2009 at 03:20 UTC | |
by locked_user sundialsvc4 (Abbot) on Jan 08, 2009 at 05:29 UTC | |
Re: HTML forms ... "whew!" Advice?
by zby (Vicar) on Jan 08, 2009 at 07:01 UTC |