in reply to Re: Checkbox parameter not being stored in CGI::Session
in thread Checkbox parameter not being stored in CGI::Session

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.