Re: Form Problem w/multiple forms same page.
| From: | Matt McClanahan | Date: | Tue, 11 Jul 2000 04:22:27 +0000 |
| Subject: | Re: Form Problem w/multiple forms same page. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-5847@lists.php.net to get a copy of this message | ||
On Mon, 10 Jul 2000, Kenneth Bogucki wrote:
> I have a simple and a complex search form on the same page, however the
> user has the option of selecting any number of different databases to
> perform these searches...in addition, I can only use one drop down menu
> for database selection.
>
> Any ideas on how to use one drop down menu for the database selection
> where the selection is shared by either the simple search form or the
> complex search form.
With conventional html you're out of luck, because form elements (selects,
inputs, radio boxes, etc) can only function within the scope of a single
form. However, there is probably a JavaScript way to synchronize two
elements such as select lists. I couldn't tell you what that would be,
unfortunately.
Matt