Home > Administrative Offices > Information Technology > Web Services > VSU Web Services Guides > Creating forms with Expression Web 3
Creating Forms with Expression Web 3 - Part 4
Previous: Part 3 - Inserting Form Names and Values
Part 4 - Downloading and setting up processform_adv.php
In this part you will download and set up processform_adv.php. This is a necessary file and must be in place and properly modified in order for your form to work.
Step 1 - Download the processform_adv.zip file
Click the following link to save the processform_adv.zip file to your local website directory (this will be in the same folder as your contact form file).

Choose "Save" after clicking the above link.

Save the file to your website folder.
Step 2 - Extract the processform_adv.zip file
Locate the processform_adv.zip file inside of your website folder.

Right click on processform_adv.zip and select Extract All... from the drop down menu.

The Extraction Wizard window will pop up. Hit the Next > button.

Hit the Next > button again.

Hit the Finish button to close the Extraction Wizard window.

You will now find a folder called processform_adv in your website folder.

Step 3 - Copy and place processform_adv.php
Open the processform_adv folder. Right click on the processform_adv.php file and select Copy.

Go back to your website folder. Right click in a blank area in the folder and select Paste from the menu. You should now have a copy of the processform_adv.php file in your website folder.

It is recommended that you either delete or relocate the processform_adv folder, so that you do not accidently edit multiple copies.
Step 4 - Open processform_adv.php in Expression Web 3
Open Expression Web 3. Open the processform_adv.php document. This should be listed in your Site View section, as seen below.

The processform_adv.php file will open up in its own tab. In the bottom left hand corner of the tab, click on Code to view the code view of the file.

Step 5 - Modify processform_adv.php
In this step you will modify processform_adv.php to include all email recipients for your contact form. In this example, we will be using “janedoe@valdosta.edu” and “johndoe@valdosta.edu” In your case it will likely be your own VSU email address.
In the Code view of processform_adv.php, you will see a list that reads like the following:
// LIST OF EMAIL RECIPIENTS...
$recipients[0] = "email_address_here";
$recipients[1] = "email_address_here";
$recipients[2] = "email_address_here";
$recipients[3] = "email_address_here";
$recipients[4] = "email_address_here";
Since we want our form to send results to janedoe@valdosta.edu, it will need to go into the list. It needs to be placed in a spot within the quotations where it says email_address_here. This is done in the example shown below.
Notice that there is a corresponding number in red (in this case, 0)
The number corresponding to each email address placed in the list is important. You will need to write down the number that goes with each email you place in the list. So for this example, 0 is janedoe@valdosta.edu

Additional email addresses can be added to the list. johndoe@valdosta.edu is added in the example below.

0 is janedoe@valdosta.edu
1 is johndoe@valdosta.edu
When you are done adding email addresses, make sure that you Save processform_adv.php
Go to Part 5 - Adding and modifying form code to your form