Interactive/Email Forms are a simple way to have your Web site visitors answer questions and send information to your email box from a Web page. You can build your own Interactive/Email Form as outlined below:
UNDERSTANDING INTERACTIVE FORMS
If this is your first HTML Form page or if you have not already read our Forms Overview Page, we recommend you do so now.
Visit to our Interactive/Email Forms Features and Demo Page which explains and displays many of the different uses and the functions of this feature.
OPENING TAG
In your opening form tag you must specify the Method as "POST" and the Action as "/cgi-bin/comments.exe"
<FORM METHOD="POST" ACTION="/cgi-bin/comments.exe">
EMAIL "TO" TAG
You must specify the "to" Email address which will be the receiving address of the data collected by this form.
Example 1:
<input type="hidden" name="to" value="demo@infodial.net">
Example 2:
<input type="radio" name="to" value="support@infodial.net"> Support
<input type="radio" name="to" value="info@infodial.net"> Information
<input type="radio" name="to" value="sales@infodial.net"> Sales
NEXTPAGE TAG
You will need to specify a "Nextpage" that will appear as soon as this form is submitted. You can either make a specific page that explains that your company has received the Form, or, if you like, you can point to any existing page (like the homepage or your website Map) within your website.
<input type="hidden" name="nextpage" value="/confirmation.asp">
ERRORPAGE TAG
To prevent the Interactive/Email Form from not being filled in correctly or your website visitor omitting their email address, we have added an "Error" Page function. You will need to specify the location of an "Error" HTML Page.
<input type="hidden" name="errorpage" value="/error.asp">
EMAIL INPUT FIELD
Every Interactive Form you build must have a field where the user inputs their email address:
<input type="text" name="email" size="40">
ADVANCED FUNCTIONS
You can add the following additional functions to your Interactive/Email Forms to enhance their capabilities and usefulness:
| FIELDNAME |
EXAMPLE |
| header |
<input type="hidden" name="header" value="Content-Type: application/x-gm-impdata"> |
| subject |
<input type="hidden" name="subject" value="Sales Lead Form"> |
| email |
<input type="hidden" name="email"value="demo@infodial.net"> |
| return receipt |
<input type="hidden" name="return receipt" value="YES"> |
| template |
<input type="hidden" name="template" value="\subdir\confirmation.asp"> |
| TAGVALUE_ |
<input type="text" name="TAGVALUE_FIELDNAME" size="30"> |
| SAVEAS |
<input type="hidden" name="SAVEAS" value="/subdir/filename.asp"> |
| BCC |
<input type="hidden" name="BCC" value="someaddr@somedomain.com"> |
header
This function allows you to specify custom header information. This feature enables custom email imports of records to contact management software such as Goldmine:
(Content-Type: application/x-gm-impdata)
HTML-Based Email:
(Content-Type: multipart/alternative;)
Return Receipt Functions:
(Disposition-Notification-To: <sales@infodial.net>)
You can specify anything that is definable in the email header.
subject
Specifies the "subject" of the email when an email is sent using the DB_EMAIL function.
email
Specifies the 'from' address in the email sent by the Interactive/Email Form as well as listing it in the body of the message.
return receipt
You will receive a return receipt from the receiver of an email message sent by DBStore.
template
For use instead of the Nextpage. Template allows you to pass TAGVALUE_ information from the form to the following page, such as First Name, Last Name, etc.
TAGVALUE_
This specifies which fieldnames will be passed to the template.
SAVEAS
Lets you to store the returned template data into a text file type of your choice. File extensions can be any type of text file like .css, .aspl, .asp, .txt, .js, etc. As part of the SAVEAS command you can generate a unique (date/time based) file name by placing ####. prior to the file extension, ####.asp for example. You can also have this function generate a specific portion of the actual file name. First, assign whatever text or file name you would like, then place ####. exactly prior to the file extension you wish to specify: YourFileName####.asp
BCC
Allows you to send a blind carbon copy of the form data to one or more additional email addresses. To BCC more than one address, you would set up your form statement as follows:
<input type="hidden" name="BCC1" value="another@somedomain.com">
the next BCC:
<input type="hidden" name="BCC2" value="andathird@somedomain.com">
and so on.
Using a template with comments.exe
What you need are two parameters
template=\templatepath\templatefile.txt
TAGVALUE_VAL1=input user data
TAGVALUE_VAL2
You can use whatever you want instead of VAL1 or VAL2
in the template its ##VAL1## and ##VAL2## ... placed wherever.
example:
<input type="hidden" name="template" value="\templatefile.txt">
Enter Data <input type="text" name="TAGVALUE_VAL1">
|