CFIF / CFELSE Coding Question
I'm not very proficient in ColdFusion but can usually get by. However, we added a third member category option and I can't seem to get the coding to work properly. Here's what we are trying to do:
There are 3 categories to choose from: Growing Company, Investor and Professional. Under Growing Company there are 3 different levels to choose from (there used to only be 2). For Investors and Professionals it is just one level.
Here is the current, broken code. We are finding that people who try to join at the $255 level or at the $695 team are seeing BOTH categories -- they are getting confused as to what they are signing up for.
<CFIF #memberCategory# IS "companyMember">
<CFIF #memberType# IS "growingTeam">
Membership Category: <b>Entrepreneur & Management Team, Team Membership - $695</b>
</CFIF>
<CFIF #memberType# IS "growingSingle">
Membership Category: <b>Entrepreneur & Management Team, Single Membership - $495</b>
<CFELSE>
Membership Category: <b>Entrepreneur & Management Team, 2011 Entrepreneur - $255</b>
</CFIF>
<CFELSEIF #memberCategory# IS "investorMember">
Membership Category: <b>Investor - $495</b>
<CFELSE>
Membership Category: <b>Professional - $895</b>
</CFIF>
Before adding this new $255 level, everything worked well. Anyone have a solution?
Your help is greatly appreciated. Thank you!
Tonya
