>
> BTW, I was reading through that section once you pointed it out. With this
> example,
> ---Quote---
> <FORM METHOD=``POST''> <P>Select Tag</P>
>
>
>   If you request this document with list.htm?SEL1=x
>   you can specify that the element which has a value
>   of x is initially selected
>
>
>   <P><SELECT NAME="SEL1">
>      <OPTION VALUE="[+ $v[$row] +]">
>         [+ $k[$row] +]
>      </OPTION>
>   </SELECT></P>
> </FORM>
> ---End quote---
> it seems that the initial selection thing only works with the [$row]
thing;
> if it's done with a foreach, or hardcoded, there's no default selected.
>

No, it works also with every OPTION tag, as long as the VALUE attribute of
the OPTION tag matches an value in %fdat (with the key is the Name Attribute
of the SELECT tag)

Gerald


-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     [EMAIL PROTECTED]         Voice:    +49 6133 925151
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to