Saturday, August 23, 2014

Focus Furniture contact form

Overview:

* 3 things to modify:

1. contact.html
2. forms.js
3. update navigation links in index.html

* 1 file to create:

submit.php


Details:

1. contact.html:

add the javascript code in the head function


       
Add this 
"submit.php


add input name/ change the name correspondingly :
for example:

( name = "name" )

2. forms.js

Modify this :
mailHandlerURL:'submit.php',    //change this to whatever the mail handler form name
ownerEmail:'#',  //change this to recipients email

3. index.html
Update links corresponding to contact page, please note, if you didn't change both the link in the index and the contact page, it won't work properly.


4. Create page submit.php

The writing:




Aaaaand done!!!!
What a seemingly simple task but for some small errors it took so long to fix it 

No comments: