Form-2-email on a Facebook page

I dug around the web to find a way to create a form on a facebook page to submit prospective members’ details to our call center.

I found this article Submitting a Contact Form via AJAX From Your Facebook Page, but it just logged the responses. Not knowing that much about php, I decided to look for a free php form-2-email script to use. I came accross FormToEmail.com and downloaded the free version.

To marry the two, I added the php part from FormToEmail.php to the top of form_submit.php, commenting out log_submission($_POST['name', $_POST['email']);.

Useful links: