[html-formfu] Both "static" and "dynamic" fields in a form

Rippl, Steve rippls at woodlandschools.org
Thu Dec 1 22:21:04 GMT 2011


Hi,

I have a form that has some "static" fields that are both inherited from
another form and then some more added via has_field in the general
declaration of the thing.  I then have a bunch more very repetitive fields
I'd like to add dynamically as I could build the set of fields and then
loop through enough times just changing the names as I go along.  Is this
possible?  I've seen examples of adding to the field list via process in
the Controller, but I'd like to put this in a sub within the Form.pm file
so as not to clutter up the controller.

Just coming over to this from HTML::FormFu and it seems pretty impressive
just how much is in FormHandler!

Thanks,
Steve

-- =

Steve Rippl
Technology Director
Woodland Public Schools
360 841 2730
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/html-formfu/attachments/20111201/56=
8fc9f8/attachment.htm


More information about the HTML-FormFu mailing list