so i see now there is some quirk involved. and unchecked checkboxes are not passed in the session. im using a conditional check in my CGI::Application module to set checkbox to off if the query parameter is not available in the session.
#checkbox needs a fix as it is not set in POST if unchecked if (!defined($query->param('c_scl'))){ $c_scl = 'off'; } else { $c_scl = $query->param('c_scl'); }
If i dont do this, then i see that the fields in my template "after" the checkbox are not getting retrieved/ showing field names instead of field values in the html (sounds wierd) $self->tt_process('school_register.tt',\%ret_params);. I/m fairly certain there is a possible issue either in TT or in my TT code specifically, so i have to post this to the TT mailing list.

In reply to Re^2: Checkbox parameter not being stored in CGI::Session by perlron
in thread Checkbox parameter not being stored in CGI::Session by perlron

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.