At 7:55 AM +0200 5/2/02, Gerald Richter wrote:
>
>Axel already pointed out how to do it right now.
Just FYI, I discovered there is one place where that technique does not work.
<select name="person.id:[+ $i +]" onchange="AuthorMenu(this, [+ $i +])">
[$ if ($row == 0) $]
<option value="">None</option>
<option value="-1">Other...</option>
<option value="">---</option>
[$ endif $]
<option value="[+ $set->[$row]{id} +]">[+ $set->[$row]{sortkey
} +]</option>
</select>
If there are no items in $set, this will result in an empty menu,
which is not what you want.
--
Kee Hinckley - Somewhere.Com, LLC
http://consulting.somewhere.com/
[EMAIL PROTECTED]
I'm not sure which upsets me more: that people are so unwilling to accept
responsibility for their own actions, or that they are so eager to regulate
everyone else's.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]