Andy,
I want to do the same trick with the add.html template. But that doesn't work. It comes only with form2.
Why does it works ok with detailed.html and not with add.html?
The template dump <%GT::Template::dump%> shows in detailed a fatherid and not in add.html!
I use the same global as in detailed with this logic below.
*******************************
<%diff_detail($ID)%>
<%if FatherID eq '1345'%>
<%include include_form1.html%>
<%else%>
<%include include_form2.html%>
<%endif%>
*******************************
Thanks,
Ron
I want to do the same trick with the add.html template. But that doesn't work. It comes only with form2.
Why does it works ok with detailed.html and not with add.html?
The template dump <%GT::Template::dump%> shows in detailed a fatherid and not in add.html!
I use the same global as in detailed with this logic below.
*******************************
<%diff_detail($ID)%>
<%if FatherID eq '1345'%>
<%include include_form1.html%>
<%else%>
<%include include_form2.html%>
<%endif%>
*******************************
Thanks,
Ron