Sure, NP. What I have got so far (I apologize if the indentation doesn't come out right):
<snipp> ... my $cds = table caption ('CD Collection for user ' . $username), Tr (th ([qw(Remove? Artist Album CD_vote ArtistCD_vote)])), map { Tr ( td ([$r_user_collection->{$_}{'cd_artist'}]), td ([$r_user_collection->{$_}{'cd_title'}]), ), } keys %{ $r_user_collection }; $MAIN_CONTENT .= "<br>" . $cds . "<br>"; ... <schnapp-ety-schnapp>
To explain, I want to create a table (of some hundreds of rows), with 5 columns (as in the 'th' table caption). The columns need to have the following format: 1. Checkbox 2. Text (static) 3. Text (static) 4. Combobox (values 0-6) 5. Combobox (values 0-6) The idea is to let a user administer his / hers cd-collection, by removing and "rank" the cds. This is just the HTML-part of a larger project, unfortunately I hate HTML with passion, so I've never bothered to learn any, and now I'm suffering the consequences. Oh, and this is a hobby-project btw, not work-related. All I've got left is to fix the web-interface, and register a domain for the "thingy".

In reply to Re: Re: Form with Table - FormBuilder, map, or template? by Anonymous Monk
in thread Form with Table - FormBuilder, map, or template? by Anonymous Monk

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.