23 Apr
2003
23 Apr
'03
1:30 p.m.
Hi. I need to write a Page Template with a conditionally selected <OPTION>. In DTML I would write <select name="numero_bimestre"> <option value="1" <dtml-if expr="propertysheets.props.numero_bimestre==1">selected</dtml-if>>gen-feb</option> <option value="2" <dtml-if expr="propertysheets.props.numero_bimestre==2">selected</dtml-if>>mar-apr</option> ... </select> Well, I don't find a way to do this with "tal" statements. I hope you can help me. Than you in advance Regards Fabio