Developer Support »

Processong more than one form  (See more user questions)

Hi

As before (see below) use a separate script for each. You can set the URL
for the "thank you" or "response" page in the script. You can see
instructions for it in the script.

Best wishes.

Charles Sweeney
https://formtoemail.com
The world's easiest feedback script!

----- Original Message -----
Sent: Thursday, November 27, 2008 8:34 AM
Subject: RE: FormToEmail script


How do I define each separate script?

-----Original Message-----
Sent: 26 November 2008 23:19
Subject: Re: FormToEmail script


Hi

My pleasure to assist.

Use a separate script for each form and set the redirect page accordingly
for each form.

Does this help?

Charles Sweeney
https://formtoemail.com
The world's easiest feedback script!

----- Original Message -----
Sent: Wednesday, November 26, 2008 11:14 AM
Subject: RE: FormToEmail script


Hi Charles,

Thanks so much for that. It works fine. I do have another question. I have
provided visitors with 2 possible forms of enquiry; one is a standard
contact form, which has a 'thank for your enquiry we'll get back to you
soon' response, the other is a newsletter subscription sign up form. I need
to point it at a separate response for this - can you advise how I would do
this?

Much appreciated.


-----Original Message-----
Sent: 24 November 2008 23:50
Subject: Re: FormToEmail script


Hi

Thank you for your question.

If you want the forms on both pages to be processed the same way and sent to

the same email address, then just install one copy of my script and point
your forms to it. Lets say your script is here:

http://www.your-site.com/FormToEmail.php

Regardless of what page your form is on, use the same action for the form,
like so:

<form action="http://www.your-site.com/FormToEmail.php" method="post">

If you want the forms to be processed differently or sent to different email

addresses, just make a copy of my script and use a separate script for each
form. Rename the copy and point the relevant form to it. So you would have

two scripts, like this:

http://www.your-site.com/FormToEmail.php

http://www.your-site.com/FormToEmail2.php

(note the different name of the second script)

On your first form, the action would be this:

<form action="http://www.your-site.com/FormToEmail.php" method="post">

On your second form, the action would be this:

<form action="http://www.your-site.com/FormToEmail2.php" method="post">

You can make any number of copies for any number of forms on your site.

Any questions, just let me know.

Best wishes.

Charles Sweeney
https://formtoemail.com
The world's easiest feedback script!

----- Original Message -----
Sent: Monday, November 24, 2008 9:59 AM
Subject: FormToEmail script


> Comments: Hi there
>
> I want to use the FormToEmail script to process forms on two pages of
> my site. What should I do?
>
> Thanks