How To Configure Your HTML

U-nets Secure Servers are able to handle credit card transactions for our Easy Two clients. The simplest way to do this is to construct a form for your users and use our script to process the data. The script has a number of configurable features which are outlined below. Please note that this script will only work and can only be tested in secure mode ie you can only use and test it using the secure url for the form page, the calling of the script and the thank you page if used.

HOW TO CALL THE SCRIPT
The following line should be included as below to call our script which processes your form
<FORM method=POST action="https://secure.wsa.u-net.com/scripts/formmail.cgi"> - for those on ws1
<FORM method=POST action="https://secure.ws2.u-net.com/scripts/formmail.cgi"> - for those on ws2
<FORM method=POST action="https://secure.ws3.u-net.com/scripts/formmail.cgi"> - for those on ws3

<FORM method=POST action="https://secure.ws4.u-net.com/scripts/formmail.cgi"> - for those on ws4
<FORM method=POST action="https://secure.ws6.u-net.com/scripts/formmail.cgi"> - for those on ws6
<FORM method=POST action="https://secure.ws7.u-net.com/scripts/formmail.cgi"> - for those on ws7
<FORM method=POST action="https://secure.ws8.u-net.com/scripts/formmail.cgi"> - for those on ws8
<FORM method=POST action="https://secure.ws9.u-net.com/scripts/formmail.cgi"> - for those on ws9
<FORM method=POST action="https://secure.wsa.u-net.com/scripts/formmail.cgi"> - for those on ws9

HOW TO SPECIFY THE RECIPIENT OF THE EMAIL
The following should be configured to send the results to your email address.
<INPUT TYPE="hidden" name="recipient" value="me@myplace.u-net.com">

HOW TO GIVE THE EMAIL A SUBJECT
Below you should fill in the subject that the email should have when you receive it
<INPUT TYPE="hidden" name="subject" value="Order from my customer">

HOW TO SPECIFY YOUR OWN SUBMISSION RESPONSE
The next line will redirect to a thank you page of your choice - if you do not include this you will get the standard thank you greeting with a summary of the details sent.
<INPUT TYPE="HIDDEN" NAME="redirect" VALUE="https://secure.ws{?}.u-net.com/{mydir}/{mythankspage.htm}">

another option is available for this field which will allow the user to specify the url that they want to go to after they have filled in the form
<INPUT TYPE="text" name="redirect" >

HOW TO CUSTOMISE THE DEFAULT SUBMISSION RESPONSE
If you decide to use the default thank you page you will need to use the following 4 fields - the first gives the default thanks page a title.
<INPUT TYPE="hidden" name="title" value="Your thank you page name">

the below gives a link from the thankyou page to a page of your choice
<INPUT TYPE="hidden" name="return_link_url" value="http://{yourdomain}/{yourpage}">

and this will spiffy the text displayed for this link.
<INPUT TYPE="hidden" name="return_link_title" value="Back to main page.">

you can also set a background for the default thank you page
<INPUT TYPE="hidden" name="background value="http://{yourdomain}/my.gif">

or a background colour for this default thank you page
<INPUT TYPE="hidden" name="bgcolor" value="#FFFFFF">

you can alter the text colour
<INPUT TYPE="hidden" name="text_color" value="#000000">

and the link colour
<INPUT TYPE="hidden" name="link_color" value="#FF0000">

as well as the visited link colour
<INPUT TYPE="hidden" name="vlink_color" value="#0000FF">

and the active link colour
<INPUT TYPE="hidden" name="alink_color" value="#0000FF">

HOW TO MAKE CERTAIN FIELDS COMPULSORY
To make sure that certain parts of your form are filled in put in the following line
<INPUT TYPE="hidden" name="required" value="email,phone,{another field on my form}">

HOW TO RETURN FORM FIELDS IN A CERTAIN ORDER
You may sort the fields in the return email alphabetically
<INPUT TYPE="hidden" name="sort" value="alphabetic">

or by in specific order
<INPUT TYPE="hidden" name="sort" value="order:field1,field2,field3">

HOW TO CUSTOMISE THE EMAIL HEADER
Include the below tag for the email address of the person - it will then be placed in the from field of the email you receive.
<INPUT TYPE="text" name="email" >

Include the below tag to have the persons name included in the from tag
<INPUT TYPE="text" name="realname" >

Go back to Previous Page