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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printing

Status
Not open for further replies.

danarashad

Programmer
Nov 2, 2006
115
US
I am having a problem. When users print there forms. The information in the text boxes aren't printing. Is there a way to print all of the info from a text box. The tag in question is!
<input type="text" name="address" size="17" maxlength="50">
What I typed into the box is the following.
I have no address this is a test
No where near the 50 max. Printing cuts off after TH in this.
 
size="17"

It's cutting off at the 17th characther.

--Dan
Whenever you find yourself on the side of the majority, it is time to pause and reflect.
Mark Twain
 
Why not process the form, have the information entered be displayed in a printer friendly format, instead of wanting the browser to print hidden contents of a textbox.

If that's not it how are you printing the forms?

----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
If you set the width of your inputs as auto and specify overflow to visible in the print stylesheet, you should be able to show the relevant information. Know though, that all this is not fully supported by all browsers and sometimes vacunita's solution will save you lots of hair.

___________________________________________________________
[small]Do something about world cancer today: PACT[/small]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top