in reply to Re^2: display new options based on checkbox inputs
in thread display new options based on checkbox inputs

What are <print> tags? What do you expect this code to do? Consider solving this problem in HTML/JavaScript before doing anything in Perl, and learning the basics of HTML, JavaScript and CGI.

Replies are listed 'Best First'.
Re^4: display new options based on checkbox inputs
by Anonymous Monk on Jul 07, 2014 at 09:29 UTC
    All I am trying to do in input new data based on the checkbox clicked. So i thought i will refresh the code to get to display new textboxes...
    when check box 1 is clicked, Input for checkbox1 [ ] -------------------------- [Submit] when checkbox1 and checbox2 is clicked, Input for checkbox1 [ ] Input for checkbox2 [ ] ----------------------- [Submit]
    Any sample code will be of great help...
      Include those input fields in your HTML source, hide them by default (style="display: none" or so), and use Javascript to unhide/rehide them as the corresponding checkboxes are clicked.