Form Help 2nd shot to see if someone knows how to do this.

M

Milo145

I've got a form built in FP 2002, results are emailed to
my info mailbox. Everything is working fine. What I want
to do is auto respond to the email address the user enters
in the form when they hit submit. To make it more
complicated I also have two options in the form. I'd like
to auto respond with text A if they pick option A in the
form or text B if they pick option B. I'm sure this will
have to be done with a script of some sort, I'm really
green on this kind of stuff so please talk to me like I'm
two.

TIA
..
 
S

Steve Easton

Does your host support auto respond for e-mails??
If so, have the server send the auto response.
Then have form A and Form B ( can be on the same page )
Have form A go to e-mail address A and form B go to
e-mail address B with a different response for each e-mail addy.
 
C

clintonG

Well, you've reached the limit of push-button FrontPage functions.
Here's a brief description of how to develop the solution using ASP.

The objective requires server-side processing. Thus the form and all
related files must be named using the .asp file extension. In fact, its a
good idea to rename all files in the web as .asp files and you should
be using a global.asa file even if it has no code in it. Start here...

Google: "pass form data"+"asp"

You must learn to use the ASP Request object in the page that the
form submits to. Once you get the values passed from the form you
setup an if-then conditional test that will look like this pattern...

if sFormValue = "A" then
.... write e-mail code for A here
else
... write e-mail code for B here
end if

--
<%= Clinton Gallagher
A/E/C Consulting, Web Design, e-Commerce Software Development
Wauwatosa, Milwaukee County, Wisconsin USA
NET (e-mail address removed)
URL http://www.metromilwaukee.com/clintongallagher/
 
M

MD WebsUnlimited.com

This statement is completely incorrect, "In fact, its a good idea to rename
all files in the web as .asp files and you should be using a global.asa file
even if it has no code in it. Start here..."

Naming static pages that contain no ASP script slows the overall page
delivery process and the server serving them. If a page contains the .asp
extension it must be parse for script code.
 
C

clintonG

Yes, its true that .asp files can take longer to process than static
..htm files but there are many circumstances involved when discussing
performance criteria and it is hypocritical of you to use a statement
that is true in part to infer your conclusion must also be true.

Logicians call such faulty reasoning a fallacy of composition.

Since performance is a process that can be explicitly measured
and since your attempting to make a big deal out of a context that
has otherwise become a mute point your welcome to rationalize
your scare tactics with facts.

--
<%= Clinton Gallagher
A/E/C Consulting, Web Design, e-Commerce Software Development
Wauwatosa, Milwaukee County, Wisconsin USA
NET (e-mail address removed)
URL http://www.metromilwaukee.com/clintongallagher/
 
M

MD WebsUnlimited.com

Okay I'll bite. It was your statement not mine.

My statement stands -- Naming all your pages .asp will slow all pages as
they must be parsed for script. If my statement is not true then why is it
not true.

BTW, you still in college and just finished a course in Logic? Been a few
years for me......
 
C

clintonG

No, I'm not still in college. I just didn't forget what I learned :)

<%= Clinton Gallagher
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top