This is the contact page and it works. I do not see what the difference is:
-----------------------------------------------------------------------------
<cfhtmlhead text='
<script language="Javascript">
<!--
function doClear(theText) {
if (theText.value == theText.defaultValue) {
theText.value = ""
}
}
//-->
</script>
'>
<cfparam name="attributes.errorlist" type="string" default="">
<cfparam name="attributes.name" type="string" default=" Name:">
<cfparam name="attributes.phone" type="string" default=" Phone:">
<cfparam name="attributes.email" type="string" default=" E-mail:">
<cfparam name="attributes.message" type="string" default=" Message:">
<cfoutput>
<div class="row_top">
<div class="indent_box">
<div class="col_1">
<div class="box">
<div class="indent_text"> <img
src="#request.img#6title1.gif" class="title" alt="" /> <img
src="#request.img#6f1.jpg" style="margin-right:30px; float:left;" alt=""
/>Contact us at <span>Monster Trophy Whitetails</span> if you have any
questions in regards to the show.<br />
<br />
If you have any personal health care
questions go to <a href="http://www.DrSteger.com/"
target="_blank">DRSTEGER.COM</a>.
<div style="padding:12px 0;">
Monster Trophy Whitetails<br />
4125 Government Blvd<br
/>
Mobile, AL 36693</div>
Tel:
<span>251-660-1240</span><br />
Fax:
<span>251-660-9455</span><br />
<br class="clear" />
</div>
</div>
<img src="#request.img#6title2.gif"
class="title1" alt="" />
<cfif isdefined("form.fieldnames") and not
len(attributes.errorlist)>
<table align="center" border="0"
cellpadding="0" cellspacing="0" width="200">
<tr>
<td class="link"><br>
Thank you for
your inquiry. We will contact you shortly.<br />
<br /></td>
</tr>
</table>
<cfelse>
<cfform name="form" id="form"
action="#self#" enctype="multipart/form-data" >
<input type="hidden"
name="fuseaction" value="main.contact" />
<div class="col_box"
style="width:471px; padding:0 0 0 50px;">
<div class="col_box_1">
<div
class="h_f">
<cfinput name="name" type="text" value="#attributes.name#"
onFocus="doClear(this)" required="yes" message="Please enter your name." />
</div>
<div
class="h_f">
<cfinput name="phone" type="text" value="#attributes.phone#"
onFocus="doClear(this)" required="yes" message="Please enter your phone
number." />
</div>
<cfinput
name="email" type="text" value="#attributes.email#" onFocus="doClear(this)"
required="yes" message="Please enter your email address." />
</div>
<div class="col_box_2">
<textarea
name="message" cols="2" rows="2"
onfocus="doClear(this)">#attributes.message#</textarea>
<div
style="margin:10px 0 0 106px;">
<div
class="column">
<div class="link_wrx" style="margin:22px 0 0 0;"><span><a
onclick="document.getElementById('form').reset()">clear</a></span></div>
</div>
<div
class="column" style="margin:0 0 0 22px;">
<div class="link_wrx" style="margin:22px 0 0 0;"><span><a
onclick="document.getElementById('form').submit()">send</a></span></div>
</div>
<div
class="clear"></div>
</div>
</div>
<div
class="clear"></div>
</div>
</cfform>
</cfif>
<br />
<br />
</div>
</div>
</div>
</cfoutput>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing lists
Archive:
http://www.houseoffusion.com/groups/cf-community/message.cfm/messageid:305034
Subscription: http://www.houseoffusion.com/groups/cf-community/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.5