Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^3: display new options based on checkbox inputs

by marto (Cardinal)
on Jul 07, 2014 at 09:07 UTC ( [id://1092536]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1092536]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2024-04-23 22:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found