You can't change a tempate according the the_value_ of a variable,
however you could change your hash structure from

hash1=>{
  type =>"text",
  ...
},
hash2=>{
  type=>"dropdown",
  ...
}

To something more like

hash1=>{
  text => 1,
  ...
},
hash2=>{
  dropdown => 1,
  ...
}

And then in the template something like

<TMPL_IF text>
 ...
</TMPL_IF>

<TMPL_IF dropdown>
  ...
</TMPL_IF>


Carl


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Html-template-users mailing list
Html-template-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to