in reply to Trouble testing if on-the-fly generated checkboxes are checked

I've also tried explicitly passing the value "on" back in the <checkbox> tag. Same results.
  • Comment on Re: Trouble testing if on-the-fly generated checkboxes are checked

Replies are listed 'Best First'.
Re^2: Trouble testing if on-the-fly generated checkboxes are checked
by poj (Abbot) on Jun 06, 2018 at 06:46 UTC

    Single quotes do not interpolate

    # if ($form_data{'box$i$j'} == "definitely not on") if ($form_data{"box$i$j"} eq "on")
    poj