Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re: CGI Table with checkboxes

by ww (Archbishop)
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?


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!

Replies are listed 'Best First'.
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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1028425]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2017-11-23 09:47 GMT
Find Nodes?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:

    Results (333 votes). Check out past polls.