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>


Zope maillist  -  Zope@zope.org
**   No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to