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

getting 'extraneous end tag' error but shouldnt!?

Status
Not open for further replies.

leadman

Programmer
Joined
Jun 11, 2001
Messages
177
Location
US
I apologize in advance for the length of this post. AMong the many form elements below are a <cfform> (near top) and </cfform> (at the very bottom) tag. I cannot get cf to see the cfform tag however and keep getting an 'extraneous end tag' error! If i remove the </cfform> i get an error tellin me that the first form element needs to be inside a <cfform> tag!!! can anyone see what im doing wrong here?:

<font size=&quot;1&quot; color=&quot;#FF0000&quot;><b><font face=&quot;Arial, Helvetica, sans-serif&quot;>Required
fields are in red </font></b></font>
<cfform action=&quot;checkout_getInfo.cfm&quot;
method=&quot;POST&quot;
enablecab=&quot;No&quot;
name=&quot;addressform&quot;>
<table border=0 width=300>
<tr>
<td colspan=2 bgcolor=silver><font face='arial' size=2>Bill
To</font></td>
</tr>

<cfoutput>
<input type=&quot;hidden&quot; name=&quot;total&quot; value=&quot;#total#&quot;>
<input type=&quot;hidden&quot; name=&quot;gogo&quot; value=&quot;gogo&quot;>
<tr>
<td><font face=&quot;arial&quot; size=&quot;1&quot; color=&quot;##FF0000&quot;><b>Firstname</b></font></td>
<td>
<cfinput type=&quot;Text&quot; name=&quot;firstname&quot; message=&quot;Please Enter firstname&quot; required=&quot;Yes&quot; size=&quot;15&quot; maxlength=&quot;25&quot;>
</td>
</tr>
<tr>
<td><font face=&quot;arial&quot; size=&quot;1&quot; color=&quot;##FF0000&quot;><b>Lastname</b></font></td>
<td>
<cfinput type=&quot;Text&quot; name=&quot;lastname&quot; message=&quot;Please enter last name&quot; required=&quot;Yes&quot; size=&quot;15&quot; maxlength=&quot;25&quot;>
</td>
</tr>
<tr>
<td><font face=&quot;arial&quot; size=1><b><font color=&quot;##FF0000&quot;>Phone</font></b></font></td>
<td>
<cfinput type=&quot;Text&quot; name=&quot;phone&quot; message=&quot;Please enter billing phone.&quot; validate=&quot;telephone&quot; required=&quot;Yes&quot; size=&quot;15&quot; maxlength=&quot;25&quot;>
</td>
</tr>
<tr>
<td><font face=&quot;arial&quot; size=1>Fax</font></td>
<td>
<input type=&quot;text&quot; name=&quot;fax&quot; size=&quot;15&quot; maxlength=&quot;25&quot;>
</td>
</tr>
<tr>
<td><font face=&quot;arial&quot; size=&quot;1&quot; color=&quot;##FF0000&quot;><b>Email</b></font></td>
<td>
<cfinput type=&quot;Text&quot; name=&quot;email&quot; message=&quot;Please enter email address&quot; required=&quot;Yes&quot; size=&quot;15&quot; maxlength=&quot;35&quot;>
</td>
</tr>
<tr>
<td><font face=&quot;arial&quot; size=&quot;1&quot; color=&quot;##FF0000&quot;><b>Address1</b></font></td>
<td>
<cfinput type=&quot;Text&quot; name=&quot;address1&quot; message=&quot;Please enter billing address.&quot; required=&quot;Yes&quot; size=&quot;15&quot; maxlength=&quot;25&quot;>
</td>
</tr>
<tr>
<td><font face=&quot;arial&quot; size=1>Address2</font></td>
<td>
<input type=&quot;text&quot; name=&quot;address2&quot; size=&quot;15&quot; maxlength=&quot;25&quot;>
</td>
</tr>
<tr>
<td><font face=&quot;arial&quot; size=&quot;1&quot; color=&quot;##FF0000&quot;><b>City</b></font></td>
<td>
<cfinput type=&quot;Text&quot; name=&quot;city&quot; message=&quot;Please enter billing city.&quot; required=&quot;Yes&quot; size=&quot;15&quot; maxlength=&quot;25&quot;>
</td>
</tr>
<tr>
<td><font face=&quot;arial&quot; size=&quot;1&quot; color=&quot;##FF0000&quot;><b>State</b></font></td>
<td>
<cfinput type=&quot;Text&quot; name=&quot;state&quot; message=&quot;Please enter billing state.&quot; required=&quot;Yes&quot; size=&quot;2&quot; maxlength=&quot;2&quot;>
</td>
</tr>
<tr>
<td><font face=&quot;arial&quot; size=&quot;1&quot; color=&quot;##FF0000&quot;><b>Zip</b></font></td>
<td>
<cfinput type=&quot;Text&quot; name=&quot;zip&quot; message=&quot;Please enter billing ZIP code.&quot; validate=&quot;zipcode&quot; required=&quot;Yes&quot; size=&quot;10&quot; maxlength=&quot;10&quot;>
</td>
</tr>
</cfoutput>
</table>
</cfform>
<table border=0 width=300>
<tr>
<td bgcolor=silver><font face='arial' size=2>Ship To</font></td>
<td bgcolor=silver>
<input type=&quot;checkbox&quot; name=&quot;sameaddress&quot; value=&quot;sameaddress&quot; onClick=&quot;checkTheBox()&quot;>
<b><font face=&quot;Arial, Helvetica, sans-serif&quot; size=&quot;1&quot;>Same address
as billing</font></b></td>
</tr>
<tr>
<td><font face=&quot;arial&quot; size=1>Firstname</font></td>
<td>
<input type=&quot;text&quot; name=&quot;sfirstname&quot; size=&quot;15&quot; maxlength=&quot;25&quot;>
</td>
</tr>
<tr>
<td><font face=&quot;arial&quot; size=1>Lastname</font></td>
<td>
<input type=&quot;text&quot; name=&quot;slastname&quot; size=&quot;15&quot; maxlength=&quot;25&quot;>
</td>
</tr>
<tr>
<td><font face=&quot;arial&quot; size=1>Phone</font></td>
<td>
<input type=&quot;text&quot; name=&quot;sphone&quot; size=&quot;15&quot; maxlength=&quot;25&quot;>
</td>
</tr>
<tr>
<td><font face=&quot;arial&quot; size=1>Fax</font></td>
<td>
<input type=&quot;text&quot; name=&quot;sfax&quot; size=&quot;15&quot; maxlength=&quot;25&quot;>
</td>
</tr>
<tr>
<td><font face=&quot;arial&quot; size=1>Email</font></td>
<td>
<input type=&quot;text&quot; name=&quot;semail&quot; size=&quot;15&quot; maxlength=&quot;35&quot;>
</td>
</tr>
<tr>
<td><font face=&quot;arial&quot; size=&quot;1&quot; color=&quot;#FF0000&quot;><b>Address1</b></font></td>
<td>
<cfinput type=&quot;Text&quot; name=&quot;saddress1&quot; message=&quot;Please input a shipping address.&quot; required=&quot;Yes&quot; size=&quot;15&quot; maxlength=&quot;25&quot;>
</td>
</tr>
<tr>
<td><font face=&quot;arial&quot; size=1>Address2</font></td>
<td>
<input type=&quot;text&quot; name=&quot;saddress2&quot; size=&quot;15&quot; maxlength=&quot;25&quot;>
</td>
</tr>
<tr>
<td><font face=&quot;arial&quot; size=&quot;1&quot; color=&quot;#FF0000&quot;><b>City</b></font></td>
<td>
<cfinput type=&quot;Text&quot; name=&quot;scity&quot; message=&quot;Please indicate city to ship to.&quot; required=&quot;Yes&quot; size=&quot;15&quot; maxlength=&quot;25&quot;>
</td>
</tr>
<tr>
<td><font face=&quot;arial&quot; size=&quot;1&quot; color=&quot;#FF0000&quot;><b>State</b></font></td>
<td>
<cfinput type=&quot;Text&quot; name=&quot;sstate&quot; message=&quot;Please indicate state to ship to.&quot; required=&quot;Yes&quot; size=&quot;2&quot; maxlength=&quot;2&quot;>
</td>
</tr>
<tr>
<td><font face=&quot;arial&quot; size=&quot;1&quot; color=&quot;#FF0000&quot;><b>Zip</b></font></td>
<td>
<cfinput type=&quot;Text&quot; name=&quot;szip&quot; message=&quot;Please indicate ZIP code to ship to.&quot; validate=&quot;zipcode&quot; required=&quot;Yes&quot; size=&quot;15&quot; maxlength=&quot;25&quot;>
</td>
</tr>
</table>
<input type=&quot;submit&quot; value=&quot;Continue >>&quot; name=&quot;submit&quot;></td>
<td width=&quot;11%&quot; valign=&quot;top&quot;>&nbsp; </td>
</tr>
<tr>
<td width=&quot;13%&quot;>&nbsp;</td>
<td width=&quot;11%&quot;>&nbsp;</td>
</tr>
</table></cfform>
 
oops - i found the problem - i think its miller time for me....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top