Even knowing that this wasn't your question, I'd like to point out something that may help you even more, considering this will run in a controlled environment.

XForms is a not-so-new-but-not-so-known technology that implements a client-side MVC infrastructure to HTML forms. This is a W3C standard (http://www.w3.org/TR/xforms/) that has a quite stable support in mozilla by the use of an extension (http://www.mozilla.org/projects/xforms/), and recently CGI.pm has accepted a patch I made to support XForms requests.

When you install the XForms extension, you can see the mozilla examples (http://www.mozilla.org/projects/xforms/samples.html), and you'll see how this can help in controlled environments such as intranets. The difference is that you'll receive structured data as XML, instead of having to workaround it in html.

There's also a patch for HTTP::Body (http://rt.cpan.org/Ticket/Display.html?id=22057) to support that, but that patch wasn't accepted yet.

daniel

In reply to Re: Strategy to name/process many similar form fields with cgi.pm? by ruoso
in thread Strategy to name/process many similar form fields with cgi.pm? by punch_card_don

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.