The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

> NAVIGATION TO DIFFERENT PAGES BASED ON MULTIPLE RADIO BUTTON OPTION SELECTION
shankar from vizag
post May 24 2019, 04:42 AM
Post #1


Advanced Member
****

Group: Members
Posts: 166
Joined: 18-June 13
Member No.: 19,316



Greetings

1. I have 5 different php pages.
2. On first page, I have 2 sets of options, each set consists 2 radio buttons. The 2 sets of options are different in nature. Basing on the selection of two different sets of options I need to navigate the 2nd to 5 pages.

I tried with php and javascript but I failed in both.

my 1st page consists,

<h3>Cause for:</h3><br>
<input type="radio" name="cause" id="visit" value="VISIT"> VISIT
<br>
<input type="radio" name="cause" id="meeting" value="MEETING">

<h3>Type</h3><br>
<input type="radio" name="type" id="enter" value="ENTERTAINMENT"> ENTERTAINMENT
<input type="radio" name="type" id="misc" value="MISCELLANEOUS"> MISCELLANEOUS

<input type="submit" name="submit1" value="SUBMIT">


If I opt value visit and entertainment ----> page2.php should open
if I opt value visit and miscellaneous -------> page3.php should open

if I opt value meeting and entertainment -----> page4.php should open
if I opt value meeting and miscellaneous ------> page5.php should open

Kindly guide me to do this.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 20th October 2019 - 03:26 AM