SunQuest
           Beginner Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOtherBeginner Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old March 5th, 2001, 03:09 PM
kelly kelly is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2001
Location: Denver, CO.
Posts: 4 kelly User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question

I have a form with input fields that a user will fill in and then most likely want to print. When printing in Netscape (with the browser print button) the form prints but the input fields are blank! Any ideas on what I might be doing wrong???

Thanks in advance!
kelly

Reply With Quote
  #2  
Old March 5th, 2001, 04:21 PM
metalogicdavid metalogicdavid is offline
Husker Geek
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2001
Location: Omaha/Lincoln, NE
Posts: 7 metalogicdavid User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to metalogicdavid Send a message via Yahoo to metalogicdavid
Netscape probably prints the html document that it has loaded, not what you see on the screen. So if the fields are blank to start with, they'll be blank when the user prints the page.


Reply With Quote
  #3  
Old March 5th, 2001, 04:29 PM
kelly kelly is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2001
Location: Denver, CO.
Posts: 4 kelly User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
It doesn't make sense to me that I can see the values when I do a "view source" but they can't be printed?

Reply With Quote
  #4  
Old March 5th, 2001, 04:32 PM
metalogicdavid metalogicdavid is offline
Husker Geek
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2001
Location: Omaha/Lincoln, NE
Posts: 7 metalogicdavid User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to metalogicdavid Send a message via Yahoo to metalogicdavid
Alrighty then...

Can you post the html of the page and/or a link to it?

Reply With Quote
  #5  
Old March 5th, 2001, 04:58 PM
kelly kelly is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2001
Location: Denver, CO.
Posts: 4 kelly User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Ok, here's snippet of it - it's huge so not posting the whole thing. Sorry this is so ugly



<td align="center" colspan="3">
<table border="0" cellspacing="0" cellpadding="2" width="580" bordercolor="#660099"><tr>
<table border="1" width="100%">
<tr><td bgcolor="#660099">
<font color="#FFFFFF" size="2" face="verdana,arial,helvetica"><strong>1. Your Account Registration</strong></font></td></tr>
<tr><td bordercolor="#660099"> <table border="0" cellspacing="0" cellpadding="2"> <tr><td><strong>
<input type="text" name="txtSSN" size="11" maxlength="11" value="523252232"></strong></td></tr><tr>
<td><font size="2" face="verdana,arial,helvetica">
<em>Social Security Number</em>
</font></td></tr></table> </td></tr><tr><td bordercolor="#660099">
<FONT face="verdana,arial,helvetica" size="2">
Investment In <strong>New Account</strong> </font>
</td></tr>
<tr><td bordercolor="#FFFFFF"><FONT face="verdana,arial,helvetica" size="2">Initial Payment -&nbsp;<strong>via Automated Clearing House (ACH)</strong></font></td> </tr><tr> <td bordercolor="#660099"> <table border="0" cellspacing="0" cellpadding="2" width="580"><tr><td>
<input type="text" name="txtNameFirst" size="15" maxlength="35" value="sdljk"><input type="text" name="txtNameMI" size="1" maxlength="1" value="a">
<input type="text" name="txtNameLast" size="20" maxlength="35" value="lkajsf</td></tr><tr><td>
<font size="2" face="verdana,arial,helvetica"> <em>First Owner's Name (First, MI, Last)</em></font></td>
</tr>

Reply With Quote
  #6  
Old March 5th, 2001, 05:13 PM
wjgilmore wjgilmore is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Posts: 51 wjgilmore User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Chances are that you are missing (or have added) a table cell tag. Netscape's crappy parsing is a little bit overzealous when it comes to parsing tables.

I'll venture to say that it displays in IE or Opera? If so, then ensure that you have correct closures on all of your tables.

hope this helps,
wj

Reply With Quote
  #7  
Old March 6th, 2001, 03:47 PM
kelly kelly is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2001
Location: Denver, CO.
Posts: 4 kelly User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
wj -
I'm not having trouble with the display - it's displaying just fine. The trouble I'm having is with the browser's print function - the input fields print blank.

Reply With Quote
  #8  
Old March 6th, 2001, 06:59 PM
Sonis Sonis is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2001
Location: Lithuania
Posts: 7 Sonis User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
write a cgi script

I sudgest you to write a simple CGI script whitch produces a text/html page from users input but without input fields.
You know.. smth like "Preview" button.

Sonis

[Edited by Sonis on 03-08-2001 at 05:28 AM]

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherBeginner Programming > Form data doesn't print with Netscape


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway