Difference between revisions of "Using Imaginet Formailer (HTML)"
| (4 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| − | This tutorial | + | This tutorial explains how to make use of the Imaginet Form Mailer. Please note that you will need to build your own contact form as this is not something that we can assist you with. |
| − | The first | + | The form mailer script takes the basic form below, pay special attention to the first 4 lines: |
| − | <FORM NAME=test METHOD=post ACTION=http://www.imaginet.co.za/mailer.php> | + | <FORM NAME="test" METHOD="post" ACTION="http://www.imaginet.co.za/mailer.php"> |
| − | <INPUT TYPE=hidden NAME=MailTo VALUE=yourname@yourdomain.co.za> | + | <INPUT TYPE="hidden" NAME="MailTo" VALUE="yourname@yourdomain.co.za"> |
| − | <INPUT TYPE=hidden NAME=Subject VALUE= | + | <INPUT TYPE="hidden" NAME="Subject" VALUE="The subject of the email message"> |
| − | <INPUT TYPE=hidden NAME=ReturnURL VALUE=http://www.yourdomain.co.za/thankyoupage.htm> | + | <INPUT TYPE="hidden" NAME="ReturnURL" VALUE="http://www.yourdomain.co.za/thankyoupage.htm"> |
| + | <INPUT TYPE='checkbox' NAME='accept' STYLE='display: none;'><LABEL FOR="accept" STYLE='display: none;'> I Accept</LABEL> | ||
| + | ... | ||
| + | Other form fields. | ||
| + | ... | ||
| + | <INPUT TYPE="submit" NAME="SUBMIT" VALUE="submit"> | ||
| + | </FORM> | ||
I repeat, the above lines must be the first four lines of the form. | I repeat, the above lines must be the first four lines of the form. | ||
| Line 14: | Line 20: | ||
'''Line #1:''' | '''Line #1:''' | ||
| − | <FORM NAME=FormName METHOD=post ACTION=http://www.imaginet.co.za/mailer.php> | + | <FORM NAME="FormName" METHOD="post" ACTION="http://www.imaginet.co.za/mailer.php"> |
You can replace FormName, but there's really no need to. It's best not to change | You can replace FormName, but there's really no need to. It's best not to change | ||
| Line 20: | Line 26: | ||
'''Line #2:''' | '''Line #2:''' | ||
| − | <INPUT TYPE=hidden NAME=MailTo VALUE=yourname@yourdomain.co.za> | + | <INPUT TYPE="hidden" NAME="MailTo" VALUE="yourname@yourdomain.co.za"> |
Replace "yourname@yourdomain.co.za" with the email address that you want the results | Replace "yourname@yourdomain.co.za" with the email address that you want the results | ||
| Line 27: | Line 33: | ||
'''Line #3:''' | '''Line #3:''' | ||
| − | <INPUT TYPE=hidden NAME=Subject VALUE= | + | <INPUT TYPE="hidden" NAME="Subject" VALUE="The subject of the email message"> |
Replace "The subject of the email message" with the subject of your email message. | Replace "The subject of the email message" with the subject of your email message. | ||
| Line 33: | Line 39: | ||
'''Line #4:''' | '''Line #4:''' | ||
| − | <INPUT TYPE=hidden NAME=ReturnURL VALUE=http://www.yourdomain.co.za/thankyoupage.htm> | + | <INPUT TYPE="hidden" NAME="ReturnURL" VALUE="http://www.yourdomain.co.za/thankyoupage.htm"> |
| − | Replace "http://www.yourdomain.co.za/thankyoupage. | + | Replace "http://www.yourdomain.co.za/thankyoupage.html" with the FULL URL (web address) |
of the web page you want to refer the person to after the form has been submitted. | of the web page you want to refer the person to after the form has been submitted. | ||
For example, a web page that thanks the visitor for filling out the form. | For example, a web page that thanks the visitor for filling out the form. | ||
| − | + | '''Line #5:''' | |
| + | <INPUT TYPE='checkbox' NAME='accept' STYLE='display: none;'><LABEL FOR="accept" STYLE='display: none;'> I Accept</LABEL> | ||
| − | + | This is a hidden field to help protect against spam | |
| − | |||
| + | Following these first five lines, you can add any form fields of any type, such as... | ||
| − | + | <INPUT TYPE="text" NAME="SomeFieldName"> | |
| − | + | <INPUT TYPE="text" NAME="SomeOtherFieldName"> | |
| − | <INPUT TYPE=submit NAME=SUBMIT VALUE=submit> | + | |
| + | The end of your form should have a submit button and close the form: | ||
| + | |||
| + | <INPUT TYPE="submit" NAME="SUBMIT" VALUE="submit"> | ||
| + | </FORM> | ||
| Line 56: | Line 67: | ||
'''PLEASE NOTE:''' | '''PLEASE NOTE:''' | ||
| − | Use of the Imaginet Form Mailer is at your own risk. Imaginet | + | Use of the Imaginet Form Mailer is at your own risk. Imaginet provides the form mailer as is |
| − | + | and does not guarantee its usefulness, functionality, or availability. Imaginet will not be held | |
| − | liable for any costs or losses of any kind that result from the free Imaginet Form | + | liable for any costs or losses of any kind that result from the free Imaginet Form Mailer's use. |
| − | Mailer's use. | ||
Imaginet provides this as a free service, and therefore does not provide support for the | Imaginet provides this as a free service, and therefore does not provide support for the | ||
use of this function. If you have problems with building the form, it is highly suggested | use of this function. If you have problems with building the form, it is highly suggested | ||
that you enlist the aid of a qualified web designer. | that you enlist the aid of a qualified web designer. | ||
Latest revision as of 09:59, 14 December 2021
This tutorial explains how to make use of the Imaginet Form Mailer. Please note that you will need to build your own contact form as this is not something that we can assist you with.
The form mailer script takes the basic form below, pay special attention to the first 4 lines:
<FORM NAME="test" METHOD="post" ACTION="http://www.imaginet.co.za/mailer.php"> <INPUT TYPE="hidden" NAME="MailTo" VALUE="yourname@yourdomain.co.za"> <INPUT TYPE="hidden" NAME="Subject" VALUE="The subject of the email message"> <INPUT TYPE="hidden" NAME="ReturnURL" VALUE="http://www.yourdomain.co.za/thankyoupage.htm"> <INPUT TYPE='checkbox' NAME='accept' STYLE='display: none;'><LABEL FOR="accept" STYLE='display: none;'> I Accept</LABEL> ... Other form fields. ... <INPUT TYPE="submit" NAME="SUBMIT" VALUE="submit"> </FORM>
I repeat, the above lines must be the first four lines of the form.
You must edit the first four lines to suit your website, and your email address. Here is a line by line description of what you should and shouldn't change.
Line #1:
<FORM NAME="FormName" METHOD="post" ACTION="http://www.imaginet.co.za/mailer.php">
You can replace FormName, but there's really no need to. It's best not to change anything on this line.
Line #2:
<INPUT TYPE="hidden" NAME="MailTo" VALUE="yourname@yourdomain.co.za">
Replace "yourname@yourdomain.co.za" with the email address that you want the results of the form mailed to. Do not change anything else on this line. Only one (1) 'MailTo' email address is allowed per form.
Line #3:
<INPUT TYPE="hidden" NAME="Subject" VALUE="The subject of the email message">
Replace "The subject of the email message" with the subject of your email message. Be sure that the subject line is enclosed in single-quotes ( ' ) as in the example.
Line #4:
<INPUT TYPE="hidden" NAME="ReturnURL" VALUE="http://www.yourdomain.co.za/thankyoupage.htm">
Replace "http://www.yourdomain.co.za/thankyoupage.html" with the FULL URL (web address) of the web page you want to refer the person to after the form has been submitted. For example, a web page that thanks the visitor for filling out the form.
Line #5:
<INPUT TYPE='checkbox' NAME='accept' STYLE='display: none;'><LABEL FOR="accept" STYLE='display: none;'> I Accept</LABEL>
This is a hidden field to help protect against spam
Following these first five lines, you can add any form fields of any type, such as...
<INPUT TYPE="text" NAME="SomeFieldName"> <INPUT TYPE="text" NAME="SomeOtherFieldName">
The end of your form should have a submit button and close the form:
<INPUT TYPE="submit" NAME="SUBMIT" VALUE="submit"> </FORM>
Once you have completed your form, be sure to test it thoroughly to ensure that it
is working properly. Any errors will be displayed on the page when you submit the form.
PLEASE NOTE:
Use of the Imaginet Form Mailer is at your own risk. Imaginet provides the form mailer as is
and does not guarantee its usefulness, functionality, or availability. Imaginet will not be held
liable for any costs or losses of any kind that result from the free Imaginet Form Mailer's use.
Imaginet provides this as a free service, and therefore does not provide support for the use of this function. If you have problems with building the form, it is highly suggested that you enlist the aid of a qualified web designer.