Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

HTML::FormHandler, Moose and Repeated Forms

by sundialsvc4 (Abbot)
on Jan 14, 2009 at 16:07 UTC ( #736273=perlquestion: print w/ replies, xml ) Need Help??
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” ...   :-(

Comment on HTML::FormHandler, Moose and Repeated Forms
Re: HTML::FormHandler, Moose and Repeated Forms
by ForgotPasswordAgain (Deacon) 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 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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://736273]
Approved by moritz
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2015-07-03 08:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (49 votes), past polls