RE: php-db Forms-Radio problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It appears the intention of the text input is to provide an "other" job
type.

Instead of removing it, rename it to "job_other" or something.
Then test for the value of "job", if "other" use "job_other" value.



> -----Original Message-----
> From: Stuart [mailto:lists@xxxxxxxxxxxxxxxx]
> Sent: Tuesday, January 27, 2004 11:42 AM
> To: Mignon Hunter
> Cc: php-db@xxxxxxxxxxxxx
> Subject: Re:  php-db Forms-Radio problems
>
>
> Mignon Hunter wrote:
> > <input type="radio" name="job" value="oper">
> >              Operation & Maintenance
> >
> >              <input type="radio" name="job" value="eng">
> >              Engineering (Including Project Management)
> >
> >              <input type="radio" name="job" value="mgmt">
> >              Management (other than corporate)
> >
> >              <input type="radio" name="job" value="other">
> > 		Other - Please Specify
> >            <input name="job" type="text" size="30">
>
> This last field will overwrite the radio setting when PHP
> reads the form
> fields. Remove it. It's not needed.
>
> --
> Stuart
>

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux