RE: [PHP] need help with multiple "forms" on the same page
| From: | ictuss | Date: | Sun, 05 Nov 2000 03:53:03 +0000 |
| Subject: | RE: [PHP] need help with multiple "forms" on the same page | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-23761@lists.php.net to get a copy of this message | ||
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 ?
-----Original Message-----
From: Lars Torben Wilson [mailto:torben@pinc.com]
Sent: Saturday, November 04, 2000 8:51 PM
To: ictuss
Cc: php
Subject: Re: [PHP] need help with multiple "forms" on the same page
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|
+----------------------------------------------------------------+