RE: [PHP] need help with multiple "forms" on the same page
| From: | Lars Torben Wilson | Date: | Sun, 05 Nov 2000 04:13:52 +0000 |
| Subject: | RE: [PHP] need help with multiple "forms" on the same page | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-23765@lists.php.net to get a copy of this message | ||
ictuss writes:
> actually, what i need is to begin with
> ONE dropdown, and upon submission, have
> a SECOND dropdown appear beneath the
> first. is that doable, or do I need
> javascript for that, as someone else
> suggested ?
If it must happen without reloading the page, then yes, you'll need
Javascript or some other client-side way to do it. Otherwise, there is
no reason not to do it like:
o if no input for first select
o print first select in default configuration
o else
o print first select as submitted
o print new select below it
o endif
--
+----------------------------------------------------------------+
|Torben Wilson <torben@php.net> Netmill iTech|
|http://www.coastnet.com/~torben http://www.netmill.fi|
|Ph: 1 250 383-9735 torben@netmill.fi|
+----------------------------------------------------------------+