Re: need help with multiple "forms" on the same page
| From: | Lars Torben Wilson | Date: | Sun, 05 Nov 2000 02:50:47 +0000 |
| Subject: | Re: need help with multiple "forms" on the same page | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-23759@lists.php.net to get a copy of this message | ||
ictuss writes:
> Pardon this elementary question, but ....
>
> I need to gain one response, "Submit" the
> form, then have another "form" with yet
> another question appear on the same page,
> not a subsequent one ....
>
> I hope my question is clear ... I need one
> pulldown menu, "submit," then another
> pulldown menu, then another "submit," all
> on the same web page....
>
> Is this possible? I hope I've made myself
> clear and that someone else with no life
> can help me on a Saturday night ...
>
> Thanks in advance,
>
> Kenn
If you mean that doing something in one dropdown causes that dropdown
to be replaced on the same page without having been submitted, then
no, that's a Javascript-type problem. PHP is completely server-side.
You could just echo out a different menu on an otherwise identical
page upon submission--it would accomplish pretty much the same thing,
and the bonus is that you don't have to worry about the user turning
off Javascript in their browser prefs.
...hey...waitaminnit...whaddya mean, 'no life?'....:)
--
+----------------------------------------------------------------+
|Torben Wilson <torben@php.net> Netmill iTech|
|http://www.coastnet.com/~torben http://www.netmill.fi|
|Ph: 1 250 383-9735 torben@netmill.fi|
+----------------------------------------------------------------+