Re: drop-down menu variables
| From: | Richard | Date: | Fri, 06 Apr 2001 00:35:11 +0000 |
| Subject: | Re: drop-down menu variables | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-47359@lists.php.net to get a copy of this message | ||
You must set:
<option>some text</option>
if it's a SELECT list. Use <input type="select" value="DEFAULT TEXT GOES
HERE"> to set an initialized text.
Use .VALUE to check if it's empty or not... But beware, sometimes it forgets
the contents... If you would use the JavaScript "alert(text)" function...
- Richard
""Joao Monteiro"" <absorbent@hotmail.com> wrote in message
news:9aahf3$bph$1@toye.p.sourceforge.net...
> when i edit variables with a form the ones wich are simple text get
> corrected ok, but the ones chosen from drop-down menus only get added to
> existing variables...
> what am i doing wrong?
>
> Thanx
>
> Joao Monteiro
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>