Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Include field in a form

Quote Reply
Include field in a form
I am having about 1000 categories in total and was wondering if there was a way where I can use

<% if Category eq "root/sub category/third level"%>
<%include specificfile.txt%>

<%elsif Category eq "root/sub category/third level 2"%>
<%include specificfile_2.txt%>

<%elsif Category eq "root/sub category/third level 3"%>
<%include specificfile_3.txt%>

<%else%>
<%include specificfile_4.txt%>

<%endif%>

Can someone please help.

Thank you

Vishal
-------------------------------------------------------