What about it isn't functioning as intended? Is it sending both or nothing?
(looks like it would send both)
Sometimes I have had to expand on my cfif statement - further defining it. I
can see you are setting up a parameter of form.appointment and
form.newsletter so BOTH are being defined - - so, you need to check if they
actually have the "Form" data/value.
<cfif error is "" and isDefined('form.appointment') and "#form.appointment#"
EQ "appointment">
Blah
<cfelseif error is "" and isDefined('form.newsletter') and
"#form.newsletter#" EQ "newsletter">
Blah
</cfif>
I think that should fix it....
- Nick
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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-Newbie/message.cfm/messageid:3213
Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15