/    Sign up×
Community /Pin to ProfileBookmark

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.

to post a comment
HTML

1 Comments(s)

Copy linkTweet thisAlerts:
@FangMay 12.2010 — style="height:100[COLOR="Blue"]px[/COLOR];width:480px;overflow:auto"
×

Success!

Help @Alburyboy67 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.2,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...