Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Print form with checkmarks if they are checked

Status
Not open for further replies.

jianhua

Programmer
Jun 22, 2001
55
US
How to print a form with the checkmarks if the fields (checkbox) are checked?

I have trouble printing the checkmarks. For example: an html form with several checkboxes - if the user checkes some of the fields and wants to print the form as a record before he submits the form, why all the checkmarks are gone on paper after printing it?

Any help would be appreciated.
 
use div's
set them to hidden and upon your validation either change the visibility to visible or leave hidden.

_______________________________________________
{ str = "sleep is good for you. sleep gives you the energy you need to function";
ptr = /sleep/gi;Nstr = str.replace(ptr,"coffee");alert(Nstr); }

_______________________________________________
for the best results to your questions: FAQ333-2924
has you're questio
 
Would you please explain it in a little more detail or post a sample code if you have? Thanks...
 
samples of similar events
just cahnge the text to a image next to the field

change the event a bit to call on validation

_______________________________________________
{ str = "sleep is good for you. sleep gives you the energy you need to function";
ptr = /sleep/gi;Nstr = str.replace(ptr,"coffee");alert(Nstr); }

_______________________________________________
for the best results to your questions: FAQ333-2924
has you're questio
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top