View previous topic :: View next topic |
Author |
Message |
songsender
Joined: 13 May 2005 Posts: 5 Location: Nebraska
|
Posted: Wed Aug 16, 2006 11:43 am Post subject: Code going bad when pasted into file. |
|
|
When I paste the following form code into my page it goes bad when I tell Dreamweaver to refresh. The error seems to happen right after the name John Ballew - at least that's where the text displays differently in code view of DW. The preview in mycontactform looks fine, but blows apart in DW.
Can you help please?
<!-- Begin myContactForm.com Form HTML -->
<form name="contactForm" method="post" action="http://www.mycontactform.com/sendform/sendform.php">
<input name="user" type="hidden" id="user" value="songsender"><input name="formid" type="hidden" id="formid" value="69329"><input name="subject" type="hidden" id="subject" value="Law Firm Contact Form Submission">
<table width="100%" border="0" cellpadding="0" cellspacing="0" bordercolor="#000000" bgcolor="#FFFFFF"><tr><td>
<table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr><td><font color="#000000" size="2" face="Arial"> Send To:<font color="#FF0000"> *</font></font></td><td><select name="email_to" id="email_to" class="fieldstyle"><option value="0">Gary Schneider</option><option value="1">Natalie Hazen</option><option value="2">Vic Covalt</option><option value="3">Karisa Johnson</option><option value="4">John Ballew</option></td></tr><tr bgcolor=""><td><font color="#000000" size="2" face="Arial">Name:<font color="#FF0000"> *</font></font></td><td><font color="#000000" size="2" face="Arial"><input name="q[1]" type="text" id="q[1]" value="" size="30" maxlength="150" class="fieldstyle"></font></td></tr>
<tr bgcolor=""><td colspan="2"><font color="#000000" size="2" face="Arial">Address:</font></td></tr>
<tr bgcolor=""><td colspan="2"><font color="#000000" size="2" face="Arial"><textarea name="q[2]" cols="40" rows="3" class="fieldstyle"></textarea></font></td></tr>
<tr bgcolor=""><td><font color="#000000" size="2" face="Arial">City:</font></td><td><font color="#000000" size="2" face="Arial"><input name="q[3]" type="text" id="q[3]" value="" size="20" maxlength="150" class="fieldstyle"></font></td></tr>
<tr bgcolor=""><td><font color="#000000" size="2" face="Arial">State:</font></td><td><font color="#000000" size="2" face="Arial"><input name="q[4]" type="text" id="q[4]" value="" size="5" maxlength="2" class="fieldstyle"></font></td></tr>
<tr bgcolor=""><td><font color="#000000" size="2" face="Arial">Zip:</font></td><td><font color="#000000" size="2" face="Arial"><input name="q[5]" type="text" id="q[5]" value="" size="15" maxlength="20" class="fieldstyle"></font></td></tr>
<tr><td><font color="#000000" size="2" face="Arial"> E-mail Address:<font color="#FF0000"> *</font></font></td><td><input name="email" type="text" id="email" size="20" maxlength="100" class="fieldstyle"></td></tr><tr bgcolor=""><td><font color="#000000" size="2" face="Arial">Home Phone:</font></td><td><font color="#000000" size="2" face="Arial"><input name="q[6]" type="text" id="q[6]" value="(xxx) xxx - xxxx" size="20" maxlength="25" class="fieldstyle"></font></td></tr>
<tr bgcolor=""><td><font color="#000000" size="2" face="Arial">Work Phone:</font></td><td><font color="#000000" size="2" face="Arial"><input name="q[8]" type="text" id="q[8]" value="(xxx) xxx - xxxx" size="20" maxlength="25" class="fieldstyle"></font></td></tr>
<tr bgcolor=""><td><font color="#000000" size="2" face="Arial">Fax Number:</font></td><td><font color="#000000" size="2" face="Arial"><input name="q[9]" type="text" id="q[9]" value="(xxx) xxx -xxxx" size="20" maxlength="25" class="fieldstyle"></font></td></tr>
<tr bgcolor=""><td colspan="2"><font color="#000000" size="2" face="Arial">When is the best time to contact you?</font></td></tr>
<tr bgcolor=""><td colspan="2"><font color="#000000" size="2" face="Arial"><input type="radio" name="q[10]" value="Morning" class="fieldstyle">Morning<br><input type="radio" name="q[10]" value="Afternoon" class="fieldstyle">Afternoon<br><input type="radio" name="q[10]" value="Evening" class="fieldstyle">Evening</font></td></tr>
<tr bgcolor=""><td colspan="2"><font color="#000000" size="2" face="Arial">What is the best means to contact you?</font></td></tr>
<tr bgcolor=""><td colspan="2"><font color="#000000" size="2" face="Arial"><input type="radio" name="q[11]" value="Phone" class="fieldstyle">Phone<br><input type="radio" name="q[11]" value="E-mail" class="fieldstyle">E-mail<br><input type="radio" name="q[11]" value="Fax" class="fieldstyle">Fax</font></td></tr>
<tr bgcolor=""><td colspan="2"><font color="#000000" size="2" face="Arial">Message:</font></td></tr>
<tr bgcolor=""><td colspan="2"><font color="#000000" size="2" face="Arial"><textarea name="q[7]" cols="40" rows="6" class="fieldstyle"></textarea></font></td></tr>
<tr><td colspan="2"><hr size="1"></td></tr>
<tr><td colspan="2"><input name="submit" type="submit" value="Submit"> <input name="reset" type="reset" value="Reset"> </td></tr>
<tr><td><font color="#FF0000" size="1" face="Verdana, Arial, Helvetica, sans-serif"><b>*</b></font> <font size="1" face="Verdana, Arial, Helvetica, sans-serif">Required</font></td><td align="right"></td></tr>
</table></td></tr></table></form>
<!-- End myContactForm.com Form HTML --> |
|
Back to top |
|
 |
mycontac Site Admin
Joined: 31 Dec 2003 Posts: 2860
|
Posted: Thu Aug 17, 2006 7:34 am Post subject: Reply |
|
|
Please post a copy of the live URL with the code pasted into it, and I will check it out.
Sincerely,
Nick Ladd
myContactForm.com |
|
Back to top |
|
 |
songsender
Joined: 13 May 2005 Posts: 5 Location: Nebraska
|
Posted: Thu Aug 17, 2006 8:56 am Post subject: |
|
|
Nick,
The page seems to display properly in my browser - and does seem to work properly. The problem is that Dreamweaver won't display the page contents, so I can't make any edits to the layout.
I'm also receiving a couple error codes about /tr's not needed at the end.
Can you help me?
Thanks
here's the URL: http://clients.slidearts.com/bscg&e/contacts.html |
|
Back to top |
|
 |
|