Setting Up The Secure Form

Securemail.cgi is a simple script designed to send notification of a secure order or response through your e-mail. Please follow the instructions on how to set up securemail and be sure to use lowercase letters when naming the fields.

1. When starting your form, insert this line first in your HTML code. This field is required.

<FORM ACTION="/cgi-bin/securemail.cgi" METHOD="POST">

2. Recipient (This field is required)
The next line tells the program where to send the notification e-mail. You must put your secure form username in the value section. This field is required

<INPUT TYPE="hidden" NAME="recipient" VALUE="your username">

3. Sort
This field arranges the fields submitted in the order specified

<INPUT TYPE="hidden" NAME="sort" VALUE="field1, field2, field3, field4, etc."

4. Required
This field enables the user to select certian fields that need to be filled out before submitting. If any of these fields are not filled out, the user will receive an error message.

<INPUT TYPE="hidden" NAME="required" VALUE="field2, field4, etc.">

5. Subject
This field specifies the subject line of the form when it is read.

<INPUT TYPE="hidden" NAME="subject" VALUE="your subject">

6. Redirect
This field automatically takes the user to the specified URL after successfully sending the form. It is best to use this link as a confirmation/thank you page which should be included in the secure directory to avoid leaving the secure server. The confirmation/thank you page should contain a link to return to your non-secure site.

The first format below is for a website using the Dynamic Consulting secure certificate.

<INPUT TYPE="hidden" NAME="redirect" VALUE="https://secure.dycon.com/domainname/filename.htm">

This second format is for a website having its own secure certificate.

<INPUT TYPE="hidden" NAME="redirect" VALUE="https://secure.domainname.xxx/filename.htm">



Here is an Example showing all the Form tags that would go into your HTML code


<FORM ACTION="/cgi-bin/securemail.cgi" METHOD="POST">

<INPUT TYPE="hidden" NAME="recipient" VALUE="username">

<INPUT TYPE="hidden" NAME="sort" VALUE="name,age,address,e-mail,comments">

<INPUT TYPE="hidden" NAME="required" value="name,age,address,e-mail">

<INPUT TYPE="hidden" NAME="subject" VALUE="Secure Response Notification">

<INPUT TYPE="hidden" NAME="redirect" VALUE="https://secure.dycon.com/domainname.com/thanks.htm">

--This part starts the visible form. There can be as many fields as you like, but make sure all of them have a different name--


Name:<INPUT TYPE="text" NAME="name" "SIZE=40 MAXLENGTH=60>

Age:<SELECT NAME="age">
<option> Please Select One
<option> 10-20
<option> 21-35
<option> 36-50
<option> 51+
</SELECT>

Address:<INPUT TYPE="text" NAME="address" "SIZE=40 MAXLENGTH=60>

E-mail:<INPUT TYPE="text" NAME="e-mail" "SIZE=40 MAXLENGTH=60>

Any additional comments or requests:
<TEXTAREA NAME="comments" ROWS=5 COLS=60>
</TEXTAREA>

<INPUT TYPE="SUBMIT" NAME="sendb" VALUE="Send">

<INPUT TYPE="RESET" NAME="resetb" VALUE="Reset">

</FORM>

 

(Back to Main Help Menu)

 

© 2002 Ulanji, Inc.
All Rights Reserved