Re: Auto Form Fill on option select

From: Date: Sun, 07 Nov 2004 20:56:36 +0000
Subject: Re: Auto Form Fill on option select
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-201447@lists.php.net to get a copy of this message
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 --

« previous php.general (#201447) next »