-
1. Re: CFelseif question
Adam Cameron. Dec 21, 2012 9:43 PM (in response to userCold9)Mike: respectfully, please read my blog article regarding "how to ask for help" (http://adamcameroncoldfusion.blogspot.co.uk/2012/12/need-help-know-how-to-ask-for-it.html), and consider revising your question.
In short, no there is no limitation in CFML in this area. The problem will be with your code. We cannot offer any assistance beyond that whilst your question is so vague.
Cheers.
--
Adam
-
2. Re: CFelseif question
BKBK Dec 22, 2012 4:28 AM (in response to userCold9)userCold9 wrote:
There are 5 nested CFelseif's within the <CFIF > </CFIF>. Also, there are 3 sets <CFIF > </CFIF> of code 5 nested CFelseifs.
When I seperated the code into seperate <CFIF > </CFIF>, the code works in the environment where the CFelseif does not work.
That is one you cannot blame on ColdFusion. Nested if-statements, like nested goto-statements, are notorious for increasing the logical complexity of your code.
You should show us the code. If you can't, then at least show us the structure of the <cfif><cfelseif><cfelse> nesting. Also say what you expected and where you think it goes wrong.

