Jeff, you closed the <cfif> before placing your <cfelse>.
Hal Helms
== See ColdFusionTraining.com for info on "Best Practices with ColdFusion &
Fusebox" training ==
-----Original Message-----
From: Jeff Davis [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 19, 2001 9:25 PM
To: CF-Talk
Subject: CF Else IF syntax problem?
I receive the following error message:
Just in time compilation error Invalid token found on line 57 at position
49. ColdFusion was looking at the following text:<XMP>@</XMP>Invalid
expression element. The usual cause of this error is a misspelling in the
expression text.<p>The last successfully parsed CFML construct was a CFMAIL
tag occupying document position (57:3) to (57:9).<p>The specific sequence of
files included or processed
Hers is the scripting:
<CFIF rsForgotpass GT 1>
<span class="standardtext">Our records indicate multiple information for
that
email address. Please contact <a
href="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</a>
with your last known username.</span>
</CFIF>
<CFELSEIF rsForgotpass EQ 1>
<CFMAIL TO="#rsForgotpass.email# FROM="[EMAIL PROTECTED]"
SUBJECT="Your Forgotten Password" >
Here is your username and password information.
Username: #rsForgotpass.username#
Password: #rsForgotpass.password#
If you have any further questions please feel free to contact us.
Customer Service Dept.
</CFMAIL>
<span class="standardtext">Your log in information will be emailed to you
in
a few minutes. Please check your email box.</span>
<CFELSE>
<span class="standardtext">We have no matching records. If you feel this
information
is incorrect please send an email to <a
href="mailto:[EMAIL PROTECTED]">
[EMAIL PROTECTED]</a></span>
Jeff Davis
VP Design & Development
www.iwonitlive.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists