NAVIGATION TO DIFFERENT PAGES BASED ON MULTIPLE RADIO BUTTON OPTION SELECTION |
NAVIGATION TO DIFFERENT PAGES BASED ON MULTIPLE RADIO BUTTON OPTION SELECTION |
shankar from vizag |
May 24 2019, 04:42 AM
Post
#1
|
Advanced Member Group: Members Posts: 202 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. |
Lo-Fi Version | Time is now: 23rd April 2024 - 07:05 AM |