www.webdeveloper.com
Results 1 to 2 of 2

Thread: Lost and New - Check Box Question...

  1. #1
    Join Date
    May 2010
    Posts
    1

    Question Lost and New - Check Box Question...

    I would like to create a (scrolling) drop down menu with check boxes that when a user selects a number of check (or is it tick boxes), only the selected boxes with wording are printed on the final page... My plan is to reduce the number of pages that the entire document will print onto...

    Please note that my experience with HTML is almost non existent (actually it is non existent I guess), so unfortunately I need to post some of the script here which I have adapted for my own use from various templates I have managed to find on the internet.

    Here we go, I hope that it makes sense?

    <html>
    <head>
    <title>Scrolling Checkboxes</title>
    <script type="text/javascript">

    </script>
    </head>
    <body>
    <div id="ScrollCB" style="height:100;width:480px;overflow:auto">
    <input type="checkbox" id="scb1" name="scb1" value="1">Personnel are Qualified / Competent to use machinery and equipment.<br>
    <input type="checkbox" id="scb2" name="scb2" value="2">Electricity<br>
    <input type="checkbox" id="scb3" name="scb3" value="3">Machinery<br>
    <input type="checkbox" id="scb4" name="scb4" value="4">Equipment<br>
    <input type="checkbox" id="scb5" name="scb5" value="5">Pressure Vessel<br>
    <input type="checkbox" id="scb6" name="scb6" value="6">Dangerous Goods<br>
    <input type="checkbox" id="scb7" name="scb7" value="7">Fork Lifts<br>
    <input type="checkbox" id="scb8" name="scb8" value="8">Cranes<br>
    <input type="checkbox" id="scb9" name="scb9" value="9">Boom Lift<br>
    <input type="checkbox" id="scb10" name="scb10" value="10">Elevated Work Platform (EWP)<br>
    <input type="checkbox" id="scb11" name="scb11" value="11">Conveyors<br>
    <input type="checkbox" id="scb12" name="scb12" value="12">Front End Loader<br>
    <input type="checkbox" id="scb13" name="scb13" value="13">Equipment Starting<br>

    </div>
    </body>
    </html>

    ===================================

    As I was trying to explain earlier, I am trying to have a scrolling dropdown box for users to select a few options and then when the page is printed out only the selections made are printed. One of the other lists that I have has approximately 50 options and on most occasions perhaps a total of ten will be selected...

    Is it possible to do this?

    Thanks for your assistance...

    Regards
    Dean.

  2. #2
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    Code:
    style="height:100px;width:480px;overflow:auto"

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles