CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 form modification after selection of a radio button

Print topic Send  topic

Author Message
sjenny

Posts: 5
Posted: 08/08/2004, 9:36 AM

hallo,

I would like if anyone could point me to the answer of the following question:

I have a form with a radio button:
choice 1: I have an account
choice 2: I need to register first

How can I change the content of the form, including the action of the form after the visitor click on his radion button choice:
form choice 1 : should content the field username, password and the action go to the login script
fomr choice 2 : should content the field name, adress.... and the action go to the create new account script.

all the data should be loaded at the first page access, I don't want to reload a new page each time the visitor click on the radio button.


thanks in advance for your help
sjenny
View profile  Send private message
Damian
Posted: 08/19/2004, 4:06 AM

Try using a couple of DIV layers. Make one hidden. On changing the radio
button swap the layers.



"sjenny" <sjenny@forum.codecharge> wrote in message
news:54116569de921e@news.codecharge.com...
> hallo,
>
> I would like if anyone could point me to the answer of the following
question:
>
> I have a form with a radio button:
> choice 1: I have an account
> choice 2: I need to register first
>
> How can I change the content of the form, including the action of the form
> after the visitor click on his radion button choice:
> form choice 1 : should content the field username, password and the action
go
> to the login script
> fomr choice 2 : should content the field name, adress.... and the action
go to
> the create new account script.
>
> all the data should be loaded at the first page access, I don't want to
reload
> a new page each time the visitor click on the radio button.
>
>
> thanks in advance for your help
> sjenny
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>


Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.