Re: drop-down menu variables

From: Date: Fri, 06 Apr 2001 00:46:44 +0000
Subject: Re: drop-down menu variables
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-47364@lists.php.net to get a copy of this message
You should all check out libHTMLForm at http://www.nirvani.net/software - it has all sorts of functions for writing HTML forms easily and painlessly. I use it all the time now (shameless plug - my roommate wrote it a while back). --Joe On Fri, Apr 06, 2001 at 02:35:11AM +0200, Richard wrote: > 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 > > > > > > -- > 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 /******************************************************************************\ * Joe Stump - PHP/SQL/HTML Developer * * http://www.care2.com - http://www.miester.org - http://gtk.php-coder.net * * "Better to double your money on mediocrity than lose it all on a dream." * \******************************************************************************/

« previous php.general (#47364) next »