12 Oct
2005
12 Oct
'05
7:57 p.m.
I have a variable called 'groupabbrev' in the REQUEST. I am trying to automatically select an option in a select list based on this variable. I have tried this code and many others, and many googles but have not found anything that works. Can anyone see what I am doing wrong? <select name="groupabbrev"> <dtml-in getpastoralgroups> <option value="<dtml-var groupabbrev>" <dtml-if expr="'groupabbrev'==_['sequence-item']"> selected</dtml-if> ><dtml-var groupabbrev></option> </dtml-in> </select> regards Garry