Hi Steve, I can only presume you did something like this to cause your
error:
<cfif IsDefined("form.adults") AND form.adults NEQ"">
....
<cfelse>
....
<cfelseif foo EQ bar>
....
</cfif>
The cfelse must be the last condition, so the following code should work (if
not, there is something else awry):
<cfif IsDefined("form.adults") AND form.adults NEQ"">
....
<cfelseif foo EQ bar>
....
<cfelse>
....
</cfif>
Dominic
On 08/01/2008, Steve LaBadie <[EMAIL PROTECTED]> wrote:
>
> I have a condition that will print the choice from a loop on the success
> page to basically confirm the visitor's selection. I now need to add a
> third choice and am not sure how to add it. I thought I would add a
> <cfelseif> but I get an error.
>
>
>
> <cfif IsDefined("form.adults") AND form.adults NEQ"">
>
> <cfoutput>#form.adults#</cfoutput>
>
> <cfelse>
>
> <cfoutput>#form.child#</cfoutput>
>
> </cfif>
>
>
>
> Steve LaBadie, Web Manager
> East Stroudsburg University
> 200 Prospect St.
> East Stroudsburg, Pa 18301
> 570-422-3999
> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> http://www.esu.edu <http://www.esu.edu>
>
>
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:296109
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4