Re: Auto Form Fill on option select

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

 



This can be done with javascript or you can use an  event-driven solution
like PRADO

> Hi all,
>     I have a question that I can't get my head around and was hoping
> someone
> could answer for me.
>
> I have a form with a number of fields.
>
> Field one is a <td><select name="thisSteamField"></td>
> The option fields are built from an sql statement and a where clause
> builds the options fields
>                     ...
>                     <option value="<? echo $teamname; ?>"><? echo
> $teamname;
> ?></option>
>                     ....
> etc...
>
> When I select one of the options, the form automatically goes off and
> does another sql select a with the WHERE value of the selected
> $teamname,  and then populates the next field, but I can't think how.
>
> Any pointers?
>
> TIA
> K


-- 

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux