Question
Need help with cfif, cfelseif
I am trying to display a slideshow within an include file depending upon what category selection someone makes within a CF page.
I have tried the following using both URL= and template= with no luck. Any help would be appreciated.
| <cfif TxtProductMenuSelected eq "NewProducts"> | ||
| <cfinclude URL="IncludeFiles/ContractHome-include.cfm"> | ||
| <cfelseif TxtProductMenuSelected eq "Chandeliers"> | ||
| <cfinclude URL="IncludeFiles/ProdHome-include.cfm"> | ||
| <cfelseif TxtProductMenuSelected eq "LargeFixtures"> | ||
| <cfinclude URL="IncludeFiles/test-include.cfm"> | ||
| <cfelse> | ||
| I don't have a clue! Seriously. | ||
| </cfif> |
