|
1. Create your html form file. Each field on the form must have a unique name.
Click here to view an example of an html form (contact.html). Feel free to save the source and use it as a template.
2. Create a response page that the user is sent to after submitting the form. Name the file "response.html".
3. Create an error page to direct users to if they did not complete the required fields. Name the file "invalid.html".
4. Create a plain text file using Simple Text, BBedit or NotePad. Name the file "contact.fdml". This configuration file will take the information submitted on the form and process it into an email message.
Click here to view an example FDML file. Copy and paste the entire file into your text editor and make the changes described below to tailor it to your form. Name the file "contact.fdml".
a. Sendmail Command - revise the info@inno-tech.com to a valid e-mail address on our server. This is the address the message will be sent to. Also, revise the Subject: "Information Request" to your subject.
b. Verify Command - this string of field names are checked to insure that an entry has been made (required fields). If any field listed here is left blank, the user will sent to the invalid.html page. Add and delete your field names here, separated by a space.
c. Replace Command - revise the list of fields you want to appear on your email message. Any field will appear that has <REPLACE fieldname> as in the example. The fieldname must exactly match the fieldname on the html form.
5. Revise your html FORM ACTION to include the name of your newly created FDML file. In our example, we used "contact.fdml".
<FORM ACTION="contact.fdml" METHOD=POST>
When the user clicks on the Submit Form button, the form will call the contact.fdml file to process the information and send you a message.
6. Upload the files to the server and test it out:
- contact.html (form)
- response.html
- invalid.html
- contact.fdml (configuration file)
NOTE: The forms will not process unless you enter a valid e-mail address in the form.
If you need further assistance, please send a message to: support@inno-tech.com
|