I've successfully implemented the column display hack but now I am trying to do something a bit different. Instead of hard-coding the number of columns into html.pl, I would like the $cols= value to be based on incoming form data.
Here's what I have now:
$i = 1;
$cols = 3; # Change this to the number of columns you want
Here's what I changed it to and got an error:
$i = 1;
$cols = $form_data{'colnum'}; # Change this to the number of columns you want
Something tells me it's real simple but for some reason I can't seem to get anything other than a hardcoded value to work.
Here's what I have now:
$i = 1;
$cols = 3; # Change this to the number of columns you want
Here's what I changed it to and got an error:
$i = 1;
$cols = $form_data{'colnum'}; # Change this to the number of columns you want
Something tells me it's real simple but for some reason I can't seem to get anything other than a hardcoded value to work.