in reply to form building/validation library with "embedable" fields?

and since I'm using Catalyst, it would be nice if there was some integration between that and the formgen library
Integration (can you give an example)?
I'd use CGI ( or CGI::FormBuilder for fancier forms) and Data::FormValidator
  • Comment on Re: form building/validation library with "embedable" fields?

Replies are listed 'Best First'.
Re^2: form building/validation library with "embedable" fields?
by genehack (Beadle) on Oct 09, 2008 at 21:13 UTC

    Integration (can you give an example)?

    Basically what you'd get with Catalyst::Controller::FormBuilder, for example -- just some sugar. This isn't essential by any means; if it's down to writing some wrappers versus writing a whole system, that's an easy choice to make...

    I'd like to be able to use FormBuilder, I just don't see any way to make it do what I want, which would be an easy way to make something like this:

    <input type="radio" name="radio" value="foo">Foo<br> <input type="radio" name="radio" value="bar">Bar -- <input type="text" name="bar_text"><br> <input type="radio" name ="radio" value="baz">Baz<br>
    but treat it as a single logical unit at the Perl code level.