Well once again you can add a conditional statement to the display form (search results page). So lets say in the add form you have a field titled "templatetype". And there are 2 types of templates: temp1, temp2 (this field should be required, or you can set a default value).
Well now that you have your 2 template types add a conditional statement to the display page ( search results page):
<%if templatetype eq 'temp2'%>
<%include temp2.html%>
<%else%>
<%include temp1.html%>
So basically you put these statements within the <%loop%> that way as the database goes through the loop to display each record it should check to see what type of template is specified and it will use that specific template to display the record. I haven't actually tried this out myself, but I'm assuming it will work. Try it out and let me know how it goes.
Reena
Well now that you have your 2 template types add a conditional statement to the display page ( search results page):
<%if templatetype eq 'temp2'%>
<%include temp2.html%>
<%else%>
<%include temp1.html%>
So basically you put these statements within the <%loop%> that way as the database goes through the loop to display each record it should check to see what type of template is specified and it will use that specific template to display the record. I haven't actually tried this out myself, but I'm assuming it will work. Try it out and let me know how it goes.
Reena