Re: HOWTO: Dynamically Create A Form
| From: | Michael Kimsal | Date: | Wed, 04 Apr 2001 15:12:31 +0000 |
| Subject: | Re: HOWTO: Dynamically Create A Form | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-47071@lists.php.net to get a copy of this message | ||
Scott Walter wrote:
> I know this sounds very simple, but I only want certain fields on my form
> to be displayed depending on the selected item in a drop-down menu, that is
> part of the form. I cannot figure out how to get it to work, and I don't
> want to resubmit the form... *** I need it to be done on the fly.*** Your
> help is appreciated!
"I don't want to resubmit the form"
You've pretty much killed it, imo. Not many browser can handle dynamically
redrawing the form that's currently being displayed. You're best bet is
to automatically resubmit the form and redraw the form based on that input.
Or write a client side app that will do this data collection for you - you'll
have
much more control over the interface behaviour.