rtanenbaum
11-14-2005, 04:36 PM
A while ago I ran across a script which let you only print out the fields which are filled in when using the print button on the browser. But I lost it.
Here's my problem. I have an input form which contains a scrolling table of names and phone numbers. The user could enter up to 40 pairs. It looks ok on the screen because of the scrolling, but when printed, all 40 pairs are printed out even when they are empty. I only want to print the items which non-empty values. I saw a script in JavaScript using media="print" style sheet which did this for me.
Can anyone help?
Thanks. Bob T.
Here's my problem. I have an input form which contains a scrolling table of names and phone numbers. The user could enter up to 40 pairs. It looks ok on the screen because of the scrolling, but when printed, all 40 pairs are printed out even when they are empty. I only want to print the items which non-empty values. I saw a script in JavaScript using media="print" style sheet which did this for me.
Can anyone help?
Thanks. Bob T.