--
Stephen Travis,
Microsoft MVP - FrontPage
--
Todd Solomon
------------------------------------------
> --
> Stephen Travis,
> Microsoft MVP - FrontPage
Quote:> > Hi all,
> > I'm a bit stumped. How do I get FP2002 to do this.
> > I have a form. I want the result emailed to me, no problem there. I also
> > want the visitor redirected to one of two pages based on what radio
button
> > they checked on the form, after they press submit.
> > Can you help? Can FP even do this, if not suggestions please.
Has anyone any ideas
Gary
Quote:> Hi all,
> I'm a bit stumped. How do I get FP2002 to do this.
> I have a form. I want the result emailed to me, no problem there. I also
> want the visitor redirected to one of two pages based on what radio button
> they checked on the form, after they press submit.
> Can you help? Can FP even do this, if not suggestions please.
You are going to need some other sort of form handler to do that.Quote:> Hi all,
> I'm a bit stumped. How do I get FP2002 to do this.
> I have a form. I want the result emailed to me, no problem there. I also
> want the visitor redirected to one of two pages based on what radio button
> they checked on the form, after they press submit.
> Can you help? Can FP even do this, if not suggestions please.
The default FrontPage form system cannot make any action other than moving
the form data, it doesnt LOOK at it, it just sends it (or saves it.)
I'd suggest something like ASP or PERL or whatever you want to use...
To pass / use the variable in JavaScript see
http://www.developer.irt.org/script/form.htm#10
--
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
___________________________________________
| Hi all,
| I'm a bit stumped. How do I get FP2002 to do this.
| I have a form. I want the result emailed to me, no problem there. I also
| want the visitor redirected to one of two pages based on what radio button
| they checked on the form, after they press submit.
| Can you help? Can FP even do this, if not suggestions please.
|
|
|
There's so many things there I am actually have difficulty trying to figure
out which one applies to my situation.
--
Todd Solomon
------------------------------------------
> To pass / use the variable in JavaScript see
> http://www.developer.irt.org/script/form.htm#10
> --
> "Warning - Using the F1 Key will not break anything!" (-;
> To find the best Newsgroup for FrontPage support see:
> http://www.net-sites.com/sitebuilder/newsgroups.asp
> ___________________________________________
Quote:> | Hi all,
> | I'm a bit stumped. How do I get FP2002 to do this.
> | I have a form. I want the result emailed to me, no problem there. I also
> | want the visitor redirected to one of two pages based on what radio
button
> | they checked on the form, after they press submit.
> | Can you help? Can FP even do this, if not suggestions please.
> |
> |
> |
Quote:> > http://www.developer.irt.org/script/form.htm#10
Hi Todd,
I just got done answering this from our earlier exchange Todd.
You'll need a little JavaScript.
In the onclick or onsubmit events
onclick="setAction(this.form);"
<script>
function setAction(theForm) {
var oRadio = theForm.myradio
for(i=0; i < oRadio.length; i++) {
if(oRadio[i].checked) {
theForm.action = oRadio[i].value;
}
Note the action value should be of the form "_vti_bin/shtml.dll/new_page_9.htm" Change new_page_9.htm to the page you wish to redirect to.Quote:}
}
--
Mike
Microsoft MVP - FrontPage '97 - 02
==============================
http://WebsUnlimited.com
Makers of FrontPage Addins Since '97
J-Bots, Meta Tag Maker, Cal Wiz, Page Protector
Spam Stopper, Sounder, Text Tips, Pages-n-Stages
Hi all,
I'm a bit stumped. How do I get FP2002 to do this.
I have a form. I want the result emailed to me, no problem there. I also
want the visitor redirected to one of two pages based on what radio button
they checked on the form, after they press submit.
Can you help? Can FP even do this, if not suggestions please.
1. URGENT URGENT URGENT ------What the h@8l is going on.------- URGENT URGENT URGENT
I am near the conclusion of a 1 year long project with heavy involvment of
Frontpage 98. All of the sudden I get an error message from frontpage
saying that my web server does not work. It is PWS and it runs fine I
can't open or modify anything. I have tried reinstalling but get the same
problems. Can anyone help.
THIS IS EXTREMELY URGENT!!!!!!!!
3. Two types of form input on one page
4. Win98 - how to register a bug?
8. WANTED: Hi-Speed SCSI ($50 or less)
9. One Form and two pages (again...)
10. put two html pages in one page
11. I would like the first page to automatically go to 2nd page after 5 seconds
12. second page captures first page info
13. how do i redirect page after 20 seconds