You will need to use DHTML with javascript. Try www.docjavascript.com and
search for dhtml columns. I'm sure he has something about turning on and off
the display of items.
The basic idea is you will change the display properties from none to block
and vice-versa.
example
function show() {
rElement = document.getElementByID("ToGoDiv");
rElement.setAttribute("display","block");
}
function show() {
rElement = document.getElementByID("ToGoDiv");
rElement.setAttribute("display","none");
}
"Angel Behar" <[EMAIL PROTECTED]> wrote in message
003101c113a7$7ae63d20$[EMAIL PROTECTED]">news:003101c113a7$7ae63d20$[EMAIL PROTECTED]...
> Hi !!!
>
> I know maybe this is not the right place to make this question but I have
> been a PHP user for long time and this list had been very helpful.
>
> I want to create a form which once you select a radio button or a drop
down
> menu display the proper fields according to the selection.
>
> Let say that we have two options : To go and Pick Up. If the user select
to
> go then automatically display the address field, zip field etc, if the
user
> select pick up display the time field etc.
>
> I 've been looking a lot of javascript sites but can't find something
> similar to that I want.
>
> Hope any of you can help me.
>
> Thanks in advance.
>
> Angel.
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]