locked_user sundialsvc4 has asked for the wisdom of the Perl Monks concerning the following question:

The display that I am trying to build can be succinctly described as “repeating forms ... all in one <FORM>.”

In other words, I will be putting out a series of included subforms, each wrapped in its own text-area, all contained within what HTML perceives to be “a single form.” And furthermore, I will be assigning id values to them in a way that is gracious to various JavaScript helper libraries.

For various reasons, HTML::FormHandler appears to be the best tool, but I am drawing-a-blank about the simplest way to handle the repetition.

The object that is driving the form is actually a Moose object containing an array of other Moose objects, containing the values. I can handle most of the plumbing easily-enough, if I have to, but I am once-again dogged with the notion, “hasn't somebody out there already done this?”

The “documentation,” (sic...) is the usual mixture of “barely there” and “coming soon” ...   :-(

Replies are listed 'Best First'.
Re: HTML::FormHandler, Moose and Repeated Forms
by ForgotPasswordAgain (Vicar) on Jan 14, 2009 at 16:21 UTC
    It was only released two days ago. And from what I can see, only the templates and cookbook sections are placeholders; there's a lot more docs there than on most CPAN modules.

      ...it was only released two days ago...

      <BLINK> **“Whu-u-u-u-ups!”** </BLINK>

      $self->{'face'}{'color'} = {
        'color' => 'red',
        'intensity' => 'extreme',
      };

Re: HTML::FormHandler, Moose and Repeated Forms
by locked_user sundialsvc4 (Abbot) on Jan 14, 2009 at 23:52 UTC

    “Shoe leather!   Yummy!!&rdqo;

    Well, for all you “Moose-heads” out there:   :-O   “This thing is frikkin' awesome!”

    This just might be “the CPAN module that's talked about everywhere” for this spring.