Hi Brooks,
Give the full asp page name, Page1.asp i.e. action='page1.asp'
Next ensure that those files are in the same folder, else the relative path
needs to be given for it to work.
If it still doesn't work paste the code here.
BTW without changes did the below code work?
Regards,
Vijay
Disclaimer: This posting is provided "as is" with no warranties and confers
no rights
--------------------
| From: (e-mail address removed) (Brooks Clayton)
| Newsgroups: microsoft.public.frontpage.client
| Subject: Re: Radio buttons to select which ASP page to open
| Date: Wed, 24 Mar 2004 13:53:04 GMT
|
| Hi Vijay,
|
| Thanks for the help. When I subsitute my actual pages for page1,
| page2 and page3, I get "The Page Cannont Be Found" error message. I
| left the single quote before and after the actual page name. Should I
| have made any other changes? Like the page name following the ACTION?
|
| Brooks
|
|
| On Tue, 23 Mar 2004 04:07:00 GMT, (e-mail address removed) (Vijay
| R Gangolli [MSFT]) wrote:
|
| >Hi Brooks,
| >
| >Try this,
| >
| ><body>
| >
| ><form method="POST" ACTION="aspdefault.asp" ID="frm1">
| > <p>
| > <input type="radio" name="R1"
| >onclick="document.forms(0).action='asp1.asp'">Page1</p>
| > <p>
| > <input type="radio" name="R1"
| >onclick="document.forms(0).action='asp2.asp'">Page2</p>
| > <p>
| > <input type="radio" name="R1"
| >onclick="document.forms(0).action='asp3.asp'">Page3</p>
| > <p></p>
| > <input type="hidden" name="PWD" value="<%=Session("PWD")%>">
| > <input type="hidden" name="UID" value="<%=Session("UID")%>">
| > <p><input type="submit" value="Submit" name="B1"><input type="reset"
| >value="Reset" name="B2"></p>
| ></form>
| >
| ></body>
| >
| >
| >Regards,
| >Vijay
| >
| >Disclaimer: This posting is provided "as is" with no warranties and
confers
| >no rights
| >
| >--------------------
| >| From: (e-mail address removed) (Brooks Clayton)
| >| Newsgroups: microsoft.public.frontpage.client
| >| Subject: Radio buttons to select which ASP page to open
| >| Date: Mon, 22 Mar 2004 23:37:17 GMT
| >| I have searched this NG and Google for an answer, but none seem to
| >| fit.
| >|
| >| I have several radio buttons on a form. I need to pass the value of
| >| the button to determine which ASP page to open. I also need to pass
| >| two hidden varibles.
| >|
| >| For instance button 1 should open page1.asp and button 2 should open
| >| page2.asp. I need to pass the following hidden data:
| >|
| >| <input type="hidden" name="PWD" value="<%=Session("PWD")%>"><input
| >| type="hidden" name="UID" value="<%=Session("UID")%>">
| >|
| >|
| >| What is the best way to accomplish this?
| >|
| >| Thanks.
| >|
| >| Brooks
| >|
| >
|
|