# ContactForm

But ContactForm can also serve as a general-purpose data submission form, enabling improved communication with your visitors in many different scenarios.  For example you could configure it for use as an Estimate Request System, or a Trouble Ticket Submission system, etc.

## Features

• Supports unlimited custom form fields, including drop-down boxes
• Can send messages to multiple recipients
• Supports a "Recipient" drop-down menu so your visitors can choose a particular person/department for their message (and the destination email addresses are hidden from the visitor)
• Supports sendmail- and SMTP-based sending, including SMTP authentication
• Supports required fields, for any fields that you decide must be filled in before the form will allow the user to submit it
• Logs all messages to a text file (in addition to emailing them to you, of course) including sender's IP address, hostname, and user-agent
• Enforces a built-in delay (defaults to 20 seconds) between sends, to prevent spambots from hammering on it
• Single-file easy-to-install Perl CGI script
• Works on virtually all servers (Apache, IIS, OS X Server)

You can download the ContactForm trial version and install it on your site right now.  The trial is designed for you to test on your server before purchasing the full version.  The trial has limitations compared to the full version, mainly that it does not actually send any emails.

ContactForm Full Version:
$19.99 Non-Personal Website License: 1-site$39.99
$89.99 Non-Personal Website License: 10-site$249.99
Instant credit card payments through PayPal.
No sign-up required!

* A Non-Personal Site is one that is commercial, academic, organizational, community, government, etc.

## Instructions

Want us to install it for you?  Just purchase our ContactForm Installation Package.  We also provide customization and integration services -- just ask!

Open contact_prefs.cgi in a text editor and adjust the PREFs as necessary to suit your server and your setup.

Note: if you are using Microsoft Windows, and when you open the file, the lines all appear to be crunched together, try opening it in Wordpad (not Word) instead.  In Wordpad, save the file; this should fix the line-endings so the file's contents appear correctly in other editors like Notepad.

Note II: if you are running your server on Windows (in which case you'll need to install a copy of Perl, probably ActivePerl), then you'll need to change the first line of the script from #!/usr/bin/perl to either #!perl or #!c:\path\to\perl.exe

1. Put the script at /cgi-bin/contact.cgi.  You could also name it contact.pl (IIS users may need to) or in fact, whatever.cgi or whatever.pl.  And put the preferences file at /cgi-bin/contact_prefs.cgi.
2. Set the permissions on the script (that is, chmod it) to world-readable and world-executable, that is, a+rx or mode 0755.  Do NOT use 0777.
3. Create the directory /cgi-bin/encdata/ and set the permissions on it to world-readable, -writable, and -executable, that is, a+rwx or mode 0777.
4. Visit www.yoursite.com/cgi-bin/contact.cgi and you should see the app; if not, check the support section.
5. (Optional) Visit www.yoursite.com/contact/ to visit the app via the shortcut URL.

## Support

If you are getting an Internal Server Error message when you try to access ContactForm on your server, please try the solutions on our Internal Server Error page.

If you're getting errors about missing Perl modules, please see our instructions on how to install Perl modules.

## ChangeLog

v1.55 (20070507):

• ContactForm can now include your site's default header and footer files in its output.
• Bugfix: %serial_number% was not getting replaced with the actual serial number in the Subject: line of the emails.

v1.54 (20070315):

• The CSS ID on the main wrapper element is now adjustable via the preferences, so that a single site can run multiple copies of ContactForm for different purposes and can still style them from the same stylesheet.

v1.53 (20070128):

• Added support for drop-down input elements.
• Added support for user-selectable recipients based on drop-down lists, where the user sees an option like "Sales", "Support", etc (all configurable) and then ContactForm routes those to your specified recipient addresses.  The end-user cannot see the email addresses on the website, not even by looking at the source code, because they aren't displayed or used client-side at all.
• Added support for a static sender address and a static subject line.
• Added support for "required" fields, where the form will not submit until the user enters a value; also includes email address format verification for email fields.

v1.52 (20070120):

• Added support for unlimited custom form fields.

v1.51 (20061224):

• Names of log files are now adjustable.

v1.50 (20061121):

• Initial public release, after about 5 years of use on various Encodable client websites.

# Client Quotes

I can't thank you enough, I was up against a deadline that required me to get this up and running in 48 hours and you have probably the best customer service I've ever seen.
– Dan T.
I spent ages trying to find a way of making my own log in page for my website - if you're thinking of doing that forget it - don't waste your time!  UserBase is a 1st class product at a very reasonable price.  The software works faultlessly and can be adapted to any situation.  The service that I have received from Encodable is terrific!  I am very very impressed.  Nothing was too much trouble and I am most grateful to Anthony DiSante in particular for all his help and patience.
– Paul S.
Worked like a charm... man, this piece of software is a dream and I really appreciate all your customer service help getting this taken care of.
– Kyle M.
I just want to say you guys really stand alone in that you have a quality product and you provide genuine customer service.  It's sad but those qualities are seldom found separately, much less together.  Thanks again for your time and help.
– Alex S.
I wanted to tell you that I was very skeptical about buying this script.  I've spent a lot of time and money over the past 3 months trying to find a solution that works, but I ended up having problems with so many of the scripts I tried that I was almost to the point of giving up.  But then I came across your script, and it actually does what it's supposed to.  An absolute wow.  A very impressive and powerful script indeed!  Many, many thanks!
– Mike E.
Your scripts/software are the greatest, I mean I really love how customizable they are, how intuitive they are, and so on.  Thanks again, I love this stuff!
– Tucker O.
We searched for a long time for an application to password protect directories and allow file uploads.  Userbase & Filechucker are far superior to anything out there.  Simple yet powerful programming, extremely flexible in configuration, and great customer service.  Thanks for a superb product.
– Kat G.
Thank you VERY much for all of your help.  You've really impressed me.  We have support agreements for other software that costs thousands of dollars / year (just for the support), and most of them aren't as helpful as you have been.
– Keith Y.
There are a lot of these scripts out there, but I think they all pale in comparison to yours.
– Peter W.
The software has some great features, is well presented, runs where others are problematic and will make a good impression on our clients.  We look forward to reaping its benefits!
– Alex H.
I just installed the demo of your product and got it up and running in no time.  I searched high and low for a decent login script and thank God I found yours.