0

Hi everyone,

I want to use two radio button on a php page when we click on first radio button page will show different form below the radio button and when we will click or select second radio button then i want to show another form on the same php page.

How we can do this. Please help me. This is very urgent for me

Regards

Gagan Kumar

3
Contributors
2
Replies
3
Views
8 Years
Discussion Span
Last Post by diafol
0

Hi everyone,

I want to use two radio button on a php page when we click on first radio button page will show different form below the radio button and when we will click or select second radio button then i want to show another form on the same php page.

How we can do this. Please help me. This is very urgent for me

Regards

Gagan Kumar

This sounds more like a javascript trick than a php issue.

There are different ways to do this, it depends on how similar these 2 forms are.

I suggest you post this to javascript forum and post more details about these forms. If forms are very different or contain large select options then best way is to use ajax, otherwise you can pre-load the forms and then display different forms depending on which radio button is selected.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.