Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: CGI Table with checkboxes

by ww (Bishop)
on Apr 12, 2013 at 17:16 UTC ( #1028425=note: print w/ replies, xml ) Need Help??


in reply to CGI Table with checkboxes

Do you know how to do it with HTML? Have you read the module's doc ( perldoc CGI::Table )? Have you made any attempt to find the answer anywhere?

No?

Then please do so, and come back with a well written question ( How do I post a question effectively? ), your code, and a clear description of how you're struck when you can answer all the questions above with a "yes."


If you didn't program your executable by toggling in binary, it wasn't really programming!


Comment on Re: CGI Table with checkboxes
Re^2: CGI Table with checkboxes
by halecommarachel (Sexton) on Apr 12, 2013 at 17:29 UTC

    I have already written the table in html, read the module's docs, and made an attempt to find the answer elsewhere. Thanks for checking. Is it possible to give an answer without any explicit perl code? I don't know how to do this with html and a cgi script, or a cgi script alone.

      It would make life simpler if you showed us a code sample of what you have tried. I can give you an idea of how I have done something almost exactly like this in the past but it may sound vague and may not fit your needs.

      I've done this completely using the CGI module and HTML::Table. The key thing to remember is that your form should completely enclose the table. Each row of the table may have one or more hidden fields (possibly to identify the row number). The option to select all/deselect all was done in javascript, if I remember right.

      See this is vague. If you can show code with minimal example of what you are trying to do, we will certainly help you figure out a great way to tackle your problem.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (13)
As of 2014-09-30 16:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (378 votes), past polls