Customer Service : Technical Info : Web Hosting Info : Mailback Forms

Configuring your Website Forms to Mail Back Information

Here is how to configure your html form pages (order pages, feedback pages, ... etc.):

If using an HTML editor, you need to set your form's action field to be "http://www.dialupnet.com/cgi-bin/form.cgi".

That is, if you write your own HTML code, your online form should start with

<FORM> method="POST" action="http://www.dialupnet.com/cgi-bin/form.cgi">
and end with
</FORM>

Our form.cgi uses hidden fields to control how to form input is processed:

recipient the email address of where the form output should be mailed to
redirect the URL of which web page should be displayed after online user has submitted the form
subject the Subject: line of form output when delivered as an email
email the From: line of form output when delivered as an email
required the required fields for your form

Here are some examples of hidden fields:

<input type="hidden" name="recipient" value="order@dialupnet.com">
<input type="hidden" name="redirect" value="http://www.dialupnet.com/thankyou.html">
<input type="hidden" name="subject" value="Order Form: World-Wide Web Space Rental">
<input type="hidden" name="required" value="email,contact">
(no white space among required fields!!!)

Here is an example of an online form:

Order Form: World-Wide Web Space Rental

Company name
Contact person and title
Street address
E-mail (please check it carefully).

You can request a secured FTP account to update your web site files.
User ID preferred (up to 8 characters)
Password preferred (up to 8 characters)

Payment method:
Check/Money order .
Credit card (Visa/MasterCard/Amex)
For credit card orders only:
Credit card number (please check it carefully)
Expiration date (month/year)
Cardholder's name
Cardholder's signature (if possible):

Yes. I have read and agree with your billing policy.
Yes. I have read and agree with your service agreement.

Where did you hear about our services?

Special instructions (if any):

 


Here is the source code:

<form action="http://www.dialupnet.com/cgi-bin/form.cgi" method="POST">
<input type="hidden" name="recipient" value="admin@dialupnet.com">
<input type="hidden" name="redirect" value="http://www.dialupnet.com/thankyou.html">
<input type="hidden" name="subject" value="Order Form: World-Wide Web Space Rental">
<input type="hidden" name="required" value="email,contact">
<p><input type="text" size="48" name="company"> Company name<br>
<input type="text" size="48" name="contact"> Contact person
and title<br>
<input type="text" size="48" name="address"> Street address <br>
<input type="text" size="48" name="email"> E-mail (please
check it carefully). </p>
<p>You can request a secured FTP account to update your web
site files.<br>
<input type="text" size="21" name="userid"> User ID preferred
(up to 8 characters)<br>
<input type="text" size="21" name="password"> Password
preferred (up to 8 characters)</p>
<p>Payment method:<br>
<input type="radio" name="payment" value="check"> Check/Money
order .<br>
<input type="radio" name="payment" value="ccard"> Credit card
(Visa/MasterCard/Amex)<br>
For credit card orders only:<br>
<input type="text" size="21" name="cardnumber"> Credit card
number (please check it carefully) <br>
<input type="text" size="21" name="expiration"> Expiration
date (month/year)<br>
<input type="text" size="21" name="holdername"> Cardholder's
name <br>
Cardholder's signature (if possible):</p>
<p><input type="checkbox" name="billingpolicy" value="yes">
Yes. I have read and agree with your billing policy.<br>
<input type="checkbox" name="agreement" value="yes"> Yes. I
have read and agree with your service agreement.</p>
<p><input type="text" size="48" name="adsource"> Where did
you hear about our services?<br>
Special instructions (if any):<br>
<textarea name="instructions" rows="2" cols="48"></textarea></p>
<p>&nbsp;</p>
<p><input type="submit" value="Send Order"> <input
type="reset" value="Clear Form"> </p>
</form>

If you are a DialUp Net customer and have problems making your form work. Please feel
free to contact tech support.