Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Converting large numbers of checkboxes to small number of params

by MrCromeDome (Deacon)
on Jul 14, 2003 at 04:56 UTC ( [id://273877]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      <tr align="center" bgcolor="#eeeeee">
        <td bgcolor="#cccccc"><b>Monday</b> </td>
    ...
        <td width="6%"><input type="checkbox" name="Monday" value="8p9p"  
    +/> </td>
        <td width="6%"><input type="checkbox" name="Monday" value="9p10p" 
    +/> </td>
      </tr>
    
  2. or download this
        # Extract and display a summary of information from the form.
        my @days = qw(Monday Tuesday Wednesday Thursday Friday Saturday Su
    +nday);
    ...
    
        # Show the total number of hours selected in the summary
        $page .= $request->p() . "Total Hours Selected: $count" . $request
    +->p();
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2024-04-20 07:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found