We accept safe and secure Credit Card and PayPal Payments.
 
Perl Scripts

All Count
Attachment Mailer
Perl Scripts Build A FAQ Plus
Perl Scripts Clock In Center
eBackup Automated
Easy Poll
eSurvey
Fetch a File
Form Maker
Mailing List Server
MySQL Mate
PDF Creation
QCart
Quick Fix
Quote of the day
Speed Search
Task Manager
Traffic Pack
Upload Plus
Upload Gold
Upload Pro
Website Manager

 
Free Perl Downloads

Free Perl Scripts Main Page
Free Perl Scripts 404 Alerter
AccessLog Viewer
Build A FAQ
PHP Scripts eBackup
Free PHP Scripts ErrorLog Viewer
eVars - Server Info
HT Pass Creator
Upload Lite
Website Manager

 
JavaScripts

Free Java Scripts Alert Boxes
Free JavaScripts Browser Sniffer
Check email
Generators
Slide Show
Sudoku
Window Maker
More...

 
Extra Utilities

ASP Scripts Ascii Codes
Free ASP Scripts Color Picker
Font Finder
HT Pass Creator
Meta Cloak
Meta Magic
Pano Zooms
SlideShow
Server Size

 
Online Tutorials

Free HTML Scripts Glossary
Free HTML Scripts HTML
JavaScript
MySQL
SSI
Build Traffic
Other

 
Miscellaneous

About Us
Graphics
Testimonials
Installations
Latest versions

 
Hawk Eye in Tennis

Should Hawk Eye replace linesmen and lineswomen at all tennis tournaments?







 
View all Polls

Run Polls on your site

Run your own Surveys

 
Store Download FAQs Contact Us Support Programming Policies  

FormMail Manager w/ File Uploads and Previews

Attachment Form Mailer Plus 4.3.6 Description | Users Guide | F.A.Q. | Try the Demo
Supported Servers:
  • Unix
  • Linux
  • Mac
  • Windows
  • Sun Solaris
  • FreeBSD
  • BSDOS
Requires:
  • Perl
  • cgi-bin
  • CGI.pm V3.03+ for progress meter

  1. Introduction
  2. Requirements
  3. Configuration
  4. Installation
    1. Linux/Unix/Mac Servers
    2. Common Installation Problems on Linux/Unix/Mac Servers
    3. Windows Servers
    4. Common Installation Problems on Windows Servers
  5. License and Disclaimer
  6. Default Settings
    1. Aesthetics
    2. Email Settings
    3. File Settings
    4. Miscellaneous
    5. Form Field Sorting Order
    6. Admin Notification Template
    7. Customer Notification Template
    8. Website Error Pages Template
    9. Preview Page Template
    10. Thank You Page Template

  7. Creating your first form
  8. What you should do
  9. What you should not do
  10. Managing Forms
  11. How to redirect
  12. Viewing Form Submissions
  13. Edit Form Submissions
  14. How to add custom form fields and file uploads
  15. How to require fields
  16. Download / Export Form Submissions
  17. Markers %%% - %%%
  18. Support


Introduction

Thank you for choosing Attachment Mailer Plus as your solution for Form Management and Processing. This CGI formmail manager provides you with the ability to create and manage multiple forms, each with the ability to transfer files from your website to your server, show previews of form data entered, and return file attachments to both Admin and Customers in personalized, customized email autoresponders.

We strongly recommend you take the time to read this User Guide in it's entirety to get the most out of Attachment Mailer Plus and to make the task of creating Multiple forms as easy as possible.

Top of Page




Requirements

Attachment Mailer Plus requires Perl with a functioning cgi-bin. The CGI Perl Module, standard with all Perl installations is also required.

Top of Page




Configuration

Path To Perl
All CGI programs written in Perl must start with a line that tells the web server where to look for the Perl interpreter. This means the very first line of each of the .cgi or .pl files MUST be the path to Perl. Here are some examples of common paths to Perl:

#!/usr/bin/perl
#!/usr/bin/perl5
#!/usr/lib/perl
#!/usr/local/bin/perl

This program was shipped with a default path of: #!/usr/bin/perl

On most servers, this should be all that is required. You do not have to set any variables.

This program uses our advanced set-up routine, which will resolve paths, create directories and set permissions on data directories. If the program encounters a problem during the set-up process, you will be given specific directions on what to do.

Top of Page



Installation - Linux/Unix/Mac Servers

[script] refers to the first portion of the name of the CGI Scripts you purchased.
  1. Setting the Path to Perl. Open all CGI Scripts (except [script]_key.cgi) in a Plain Text Editor and make sure the first line of the CGI Script is the Path Perl for your server. Most Users can skip this step being the default Path to Perl shipped in the CGI Script is very common.

    NB: if you do not you a Plain Text editor such as Windows NotePad or Mac Textedit (in Plain Text Mode), your Text/HTML editor will add extraneous code to the CGI Script when you save it which will result in a server 500 Error.

  2. Upload all CGI Scripts to your cgi-bin or any cgi enabled directory and CHMOD all the CGI Scripts to 755. It is imperative that you upload (transfer) all CGI Scripts to your server in ASCII mode.

    If you forget to CHMOD all CGI Scripts to 755, Step 3 will yield a Server 500 Error.

    If you do NOT upload (transfer) all CGI Scripts to your server in ASCII mode, Step 3 will yield a Server 500 Error.


  3. Load your Browser, point it to the [script]_setup.cgi file and follow the on-screen instructions for installation. For example, in your browser, type :

    http://www.yourdomainname.com/cgi-bin/[script]_setup.cgi

  4. Enter a Username and Password. This will be your Username and Password for the Administration Section. If the Setup Routine is successfully processed a link to the Administration Section will appear on the resulting page. Click the link to access the Administration Section with the Username and Password you just entered in the Setup Script.

    Should you encounter any Permission problems with the Setup Routine follow the instructions returned by the Script.
Upon successful completion of the Setup Routine the [script]_setup.cgi_setup.cgi script attempts to delete itself. This ensures the Setup Routine can not be repeated by another Surfer who would effectively reset your Administration Section Username and Password. Manually delete the [script]_setup.cgi CGI Script you uploaded if the Setup Routine could not automatically delete it (Refresh your FTP directory listing to check). Should you ever forget your Administration Section Username and Password you can repeat this Step to set a new Username and Password.

Top of Page



Common Installation Problems - Linux/Unix/Mac Servers

NB: Shared Secure Servers, VPS, SBOX and Free Servers.

  1. Server 500 Error. This most often occurs because Step 2 was not followed precisely. Make sure the CGI Scripts you are uploaded are CHMOD to 755, the folder the CGI Scripts reside in is also CHMOD to 755, and the CGI Scripts were transferred in ASCII Mode. Auto-Detect only detects the extensions you specify in your FTP client's Settings.

  2. I can initially load the Setup Script and punch in my Username and Password, but when I submit the Form, I receive 404 Error Page or an alternate Error Page stating "Page Cannot be found".

    This suggests your Server is operated by a very nervous System Administrator employing strict security measures, you're using a Shared Secure Server which dynamically sets your domain name to something other than the a standard Top Level Domain (www.yourdomainname.com) or sbox is employed by your server.

    In any case, open [script]_key.cgi in Plain Text Editor (not a WYSIWYG Text Editor, nor a Rich HTML Editor) and enter the URL to the folder you uploaded the CGI Scripts to in the $SecureServer Variable. If you uploaded the CGI Scripts to your cgi-bin, then you'd set the following:

    $SecureServer = "http://www.yourdomainname.com/cgi-bin";

    Do NOT enter the CGI Script name, do NOT enter a trailing slash. After setting the Variable refresh the Setup Routine's Page that asks you to enter your Username and Password. Unless you refresh the initial Setup Page, the Form's URL will not be updated to reflect your Variable value.

  3. I cannot find the correct path to my WebSpace or the required Data Directories and/or Password file cannot be created.

    You need to find that Path. Ask your host, or Download a copy of our free E-Vars CGI Script and install it on your server. CHMOD it to 755 then load it in your Web Browser which will print your Server's environment variables and other useful information. Determine your Server's Document_ROOT or Absolute Server Path to the folder your home page (index.html) resides in. You may need to append "/www" or "/httpdocs" to your Document_ROOT or Absolute Server Path to complete the path to your Writable WebSpace.

    Once you've determined your Absolute Server Path, open [script]_key.cgi in Plain Text Editor (not a WYSIWYG Text Editor, nor a Rich HTML Editor) and set the $DefaultData Variable. For example:

    $DefaultData = "/var/username/www/htdocs";

    Finally, on some Server's it's necessary to CHMOD the folder just above your WebSpace to 777 granting permission to the CGI Script to create the Required Directories at WebSpace Level. In the example above, the "htdocs" folder would need to have it's permissions set to 777.

  4. We offer a very reasonably priced Custom Installation Service. We'll Setup the CGI Script for you and send you the Log in details which you can update at your own leisure. If we cannot successfully Setup the CGI Script we will refund both the Installation fee and the purchase price of the CGI Script. To Order Custom Installation, please fill in our Secure Installation Order Form.
Top of Page



Installation - Windows Servers

[script] refers to the first portion of the name of the CGI Scripts you purchased.
  1. Your Windows Server may not execute CGI scripts even if Perl is Supported. Many Server Administrators do not modify the Registry to accommodate Scripts with a .cgi extension. In this case, contact us for a copy PL Version.

  2. Setting the Path to Perl. Your Server may or may not require the Path to Perl. It's highly likely you don't need it, and you can ignore this Step. However you may want to check with your Host if you can not load the Setup Script in your web Browser.

    NB: if you do not you a Plain Text editor such as Windows NotePad or Mac Textedit (in Plain Text Mode), your Text/HTML editor will add extraneous code to the CGI Script when you save it which will result in a server 500 Error.

  3. Upload all CGI Scripts to your cgi-bin or any cgi enabled directory. It is imperative that you upload (transfer) all CGI Scripts to your server in ASCII mode.

    If you do NOT upload (transfer) all CGI Scripts to your server in ASCII mode, Step 3 will yield a Server 500 Error.

  4. Load your Browser, point it to the [script]_setup.cgi file and follow the on-screen instructions for installation. For example, in your browser, type :

    http://www.yourdomainname.com/cgi-bin/[script]_setup.cgi

  5. Enter a Username and Password. This will be your Username and Password for the Administration Section. If the Setup Routine is successfully processed a link to the Administration Section will appear on the resulting page. Click the link to access the Administration Section with the Username and Password you just entered in the Setup Script.

    Should you encounter any Permission problems during the Setup Routine, you need to contact your Host and request "Full Read/Write Permissions" be applied to at least one folder on your Server. Many Servers have at least one writable folder, often named "database". See Common Installation Problems below for more information.
Upon successful completion of the Setup Routine the [script]_setup.cgi_setup.cgi script attempts to delete itself. This ensures the Setup Routine can not be repeated by another Surfer who would effectively reset your Administration Section Username and Password. Manually delete the [script]_setup.cgi CGI Script you uploaded if the Setup Routine could not automatically delete it (Refresh your FTP directory listing to check). Should you ever forget your Administration Section Username and Password you can repeat this Step to set a new Username and Password.

Top of Page



Common Installation Problems - Windows Servers

NB: Shared Secure Servers, VPS, SBOX and Free Servers.

  1. Server 500 Errors are usually misleading on Windows Servers. It seems to be the default error page for just about every error. Make sure you typed in the correct Website Address (URL) to the CGI Scripts on your server. Make sure the CGI Scripts were transferred in ASCII Mode. Auto-Detect only detects the extensions you specify in your FTP client's Settings.

  2. I can initially load the Setup Script and punch in my Username and Password, but when I submit the Form, I receive 404 Error Page or an alternate Error Page stating "Page Cannot be found".

    This suggests your Server is operated by a very nervous System Administrator employing strict security measures, you're using a Shared Secure Server which dynamically sets your domain name to something other than the a standard Top Level Domain (www.yourdomainname.com) or sbox is employed by your server.

    In any case, open [script]_key.cgi in Plain Text Editor (not a WYSIWYG Text Editor, nor a Rich HTML Editor) and enter the URL to the folder you uploaded the CGI Scripts to in the $SecureServer Variable. If you uploaded the CGI Scripts to your cgi-bin, then you'd set the following:

    $SecureServer = "http://www.yourdomainname.com/cgi-bin";

    Do NOT enter the CGI Script name, do NOT enter a trailing slash. After setting the Variable refresh the Setup Routine's Page that asks you to enter your Username and Password. Unless you refresh the initial Setup Page, the Form's URL will not be updated to reflect your Variable value.

  3. I cannot find the correct path to my WebSpace or the required Data Directories and/or Password file cannot be created.

    You need to find that Path. Ask your host, or Download a copy of our free E-Vars CGI Script and install it on your server. You will need to rename the E-Vars CGI Script to "myserver.pl" if your Server only executes Scripts with .pl extensions. Upload it to your cgi-bin or any cgi executable folder then load it in your Web Browser which will print your Server's environment variables and other useful information. Determine your Server's Document_ROOT or Absolute Server Path to the folder your home page (index.html) resides in. You may need to append "\\www" or "\\httpdocs" to your Document_ROOT or Absolute Server Path to complete the path to your Writable WebSpace.

    Once you've determined your Absolute Server Path, open [script]_key.cgi in Plain Text Editor (not a WYSIWYG Text Editor, nor a Rich HTML Editor) and set the $DefaultData Variable. Be sure to separate folder names with two backslashes, not one slash. For example:

    $DefaultData = "C:\\html\\username\\htdocs";

  4. We offer a very reasonably priced Custom Installation Service. We'll Setup the CGI Script for you and send you the Log in details which you can update at your own leisure. If we cannot successfully Setup the CGI Script we will refund both the Installation fee and the purchase price of the CGI Script. To Order Custom Installation, please fill in our Secure Installation Order Form.
Top of Page



License and Disclaimer

The following constitutes an agreement between you (the end user/purchaser) and us, PerlScripts JavaScripts.com (a wholly owned subsidiary of InterActive Scripts). By purchasing and using our software, products or services you agree to and accept the licensing agreement stated on this page. All documentation, goods and services are provided "as is" and without warranty. We hereby disclaim all warranties relating to any documentation, goods and services, whether express or implied, including warranties of suitability. In no event shall we be liable for any direct, indirect or consequential damages resulting in loss of revenue or data, incurred by you or any of our products, information or services. We reserve the right to revise the terms and conditions stated on this page at any time without notice. You agree to be bound by such revisions, and you are encouraged to periodically revisit this page to review the then current terms and conditions.

We grant you the right to use one copy of the software, product or service purchased, for testing and familiarization purposes. We also grant you the right to implement, install and use one copy of the software, product or service purchased on a single web site domain for use by one entity once the evaluation copy is removed / deleted.

By purchasing a product you are also subscribing to our periodic newsletter which will notify you of new software releases, updates and special offers. In accordance with United States and International anti-spamming laws, an unsubscribe link that removes you from all future mailings will accompany each e-mail notification.

For taxation purposes, we must keep accurate transaction and installation records. At the time of software installation, you will be asked to enter information such as your web site's domain name and your product's serial number. This information is used to validate copies of our software.

We reserve all rights. Written permission must be obtained from us before you may copy, reproduce, publish, modify or alter in any way, any media, software, documents or products, in part or in whole, contained within our web site or traded by us. All media, software, documents and products are the property of PerlScriptsJavaScripts.com. We retain ownership and copyright of software products purchased from us and all copies of the software. As a licensee you may make one copy of the software product solely for backup purposes. Removal of any copyright messages, publicly visible or otherwise without prior written permission from us is expressly forbidden. Unauthorized reproduction of any of our software, documents or products is prohibited by Federal and International laws and subject to criminal prosecution.

Any use of software and accompanying documentation on our Web site is subject to the terms of a software license agreement between you and us. You must read this license agreement in it's entirety and agree to it's terms prior to installing or using the software. All ownership rights and rights not implied are reserved. We reserve the right to revoke these permissions and terminate this agreement at anytime or at it's own discretion without reasonable notice. We reserve the right temporarily or permanently discontinue any software product or the support associated the product at anytime or at it's own discretion without reasonable notice. You agree and accept that we shall not be liable to you or to any third party for any such cessation.

You agree that any issue or dispute that may arise between PerlScriptsJavaScripts.com and yourself in respect to this web site or it's goods or services will be resolved and governed by and within the courts and laws of Melbourne Australia. If your local laws do not allow for such an agreement, you must delete all copies of products supplied to you by us and you are hereby notified of the termination of this license.

Top of Page




Default Settings

Upon successful installation of your Formmailer, the first item to address should be your Default Settings. The values you enter in your Default Settings are copied over to each new Form You create. Your Default Settings are accessed by clicking the link titled "Default Settings" in the Admin Control Panel.

Top of Page




Aesthetics

The Aesthetical Settings apply to error messages returned by Attachment Mailer Plus. These allow you to set the font and color of text printed.

Top of Page




Email Settings

Path to Mail Program

The default Path to Mail Program set by Attachment Mailer Plus is :

/usr/sbin/sendmail

This applies to all Unix type servers. If this fails, try

/usr/lib/sendmail

When using /usr/lib/sendmail wait a few minutes for the email to arrive after uploading a file. If you're running Attachment Mailer Plus on a Windows server, or the above settings do not work on your server, then you'll need to enter the path to your server's SMTP mail agent. Which is almost always

mail.YOURDOMAINNAME.com

where YOURDOMAINNAME.com is your website address.

If all of the above fails, your host will need to be contacted.

Admin Email

This is the email address for each administrator wanting to receive notification of new form Submissions. Separate each email address with a comma.

Use HTML Mail

Set this to Yes if all Mail sent by the form is to be sent in a Rich HTML Mail format. Note that if using HTML mail, your e-mail notification templates should also use HTML code for line breaks etc. This also allows you to create email messages that look like your website so recipients will instantly recognize the sender of the message.

Send Files to my Inbox

Set this to Yes if you would like all files uploaded by Customers sent to you as real file attachments in your Admin Notifications. Set to No, if you'd rather log in to the Admin section to view and download the files uploaded by Customers using your forms.



Top of Page




File Settings

Each Form can store uploaded files in a separate folder. The Default Folder and Default Web Address to Folder must both point to the same folder. The former must be the server's absolute path, and the later must be the website URL path. Maximum File sizes apply to each file uploaded, not a cumulative total file size.

Top of Page




Miscellaneous

Redirecting Customers

Attachment Mailer Plus allows you to redirect the Customer to a generic Thank You page after they have filled in any given form. This can be achieved in one of two ways.

1). Enter the absolute path (starting with http://) to your Thank You page in a hidden tag in your HTML form. E.g.

<input type="Hidden" name="redirect" value="http://www.google.com">

2). In the given Form's Settings, under the "Miscellaneous" tab, in the "Redirect User to" setting, enter the absolute path to your Thank You page. E.g.

<input type="Hidden" name="redirect" value="http://www.google.com/form2.html">

Show Preview of Form

Set this to Yes for any given form's settings, if you would like a preview of Form Field names and values entered by your customers displayed before the form is actually Submitted. See also, Preview Page Template and What you should do regarding form field names.

Require Password

This setting allows you to require a password from Customers. If the password entered does not match the Password you set, the form cannot be submitted. The password is generic, that is, everyone who fills in your forms would enter the same password to complete the Submission. Enter any password you like here. To request a password in your forms, use the following code :

<input type="Text" name="pass" value="">

Web Link

This setting allows you to create a link that show up on the Summary page in the Admin Section. It's sole purpose is to provide a quick link from the Admin section to the location of your form. The value you enter here should be an absolute URL to a web page of your choice. Ideally, the URL to your Form.

CSV File deletions

When Exporting your Submissions to CSV file, a copy of the file is first create on your server. This file remains on your server even after you download it. You can enter a value in this Setting so that any CSV files older than the specified number of days are automatically deleted.

This setting only appears in the Miscellaneous Tab when you click on "Default Settings" in the Admin Control Panel.

Top of Page




Form Field Sorting Order

Attachment Mailer Plus's sorting feature allows you to control the Display order of form fields in :

  • Preview pages if Previews are switched on
  • Default order of fields in Export Wizard Form
  • View / Edit Submissions Form in the Admin Section

    To edit the Sorting Order for Forms

    Log in and while on the "Summary" page, click on Settings for the form you wish to edit. Scroll down to "Form Field Sorting Order" about half way down the page. Enter the form fields, one per line with the percentage signs. Any fields you forget to enter will still show up when editing form submissions, with a link to the Sorting Template so you can modify the order if required.

    Here's an Example

    %%%fname%%%
    %%%lname%%%
    %%%email%%%
    %%%Address%%%
    %%%City%%%
    %%%State%%%

    Note also that an inadvertent feature which became apparent when coding the Sorting feature, is the ability to create new fields in the Submission Edit form. Let's say for example you wanted to add your own comments to each Submission after the forms had been filled in and Submitted. You could the following to your Sorting Template:

    %%%AdminCommentsTA%%%

    which would create an additional field for you to add your own comments about the Submission when editing or reviewing them. Changes are recorded, stored in your database and are exportable.

    Top of Page




    Admin Notification Template

    This is the auto-response sent to Admin each time a form is filled in. Notifications are sent to recipients set in the Admin Email field. If you have Use HTML Mail set to Yes, your Admin Notification Template should also include regular HTML code to create line breaks, add your logos, etc. Note that absolute paths for image tags and hyper links must be used in HTML code.

    If using Plain Text format, regular carriage returns in the Admin Notification Template are preserved in outgoing messages. All available markers can be used in this template, allowing you to virtually re-create your online form, with values entered, in outgoing email messages.

    Top of Page




    Customer Notification Template

    This is the auto-response sent to Customers each time they fill in a form. Notifications are sent to the value entered in the form field named "email" (must be lowercase) found in your form. If you have Use HTML Mail set to Yes, your Customer Notification Template should also include regular HTML code to create line breaks, add your logos, etc. Note that absolute paths for image tags and hyper links must be used in HTML code.

    If using Plain Text format, regular carriage returns in the Customer Notification Template are preserved in outgoing messages. All available markers can be used in this template, allowing you to virtually re-create your online form, with values entered, in outgoing email messages.

    Top of Page




    Website Error Pages Template

    This is your entire HTML page, from <html tag to </html> tag. Somewhere in the middle of your code, you need to place the %%%content%%% marker. This marker is replaced with the Form Script generated content. That is, the form fields and values entered by your Customers.

    To edit the Website Error Page Template, log in and while on the "Summary" page, click on Settings for the form you wish to edit. Scroll down to "Website Error Page Template" near the bottom of the page. Each one of your forms is edited from the Form Settings on the Summary Page.

    Enter the HTML code that makes up your entire page, and then scroll to the very bottom of the page and click the button labelled "Save all Settings" to save your changes. The Aesthetical Settings at the top of the Settings Page govern the font type used to render error messages printed by the Form Processor.

    The code for a Website Error Page might look something like the following :

    <html>
    <head><title></title></head>
    <body>
    Your logo etc. here

    %%%content%%%

    Your copyright info etc. here
    </body>
    </html>


    Remember to use absolute paths in your image tags and hyperlinks. Or start the paths with a slash which is the same as entering your website home address. See also, What you should do regarding form field names and their display on Error Pages.

    Top of Page




    Preview Page Template

    This is your entire HTML page, from <html tag to </html> tag. Somewhere in the middle of your code, you need to place the %%%content%%% marker. This marker is replaced with the Form Script generated content. That is, the form fields and values entered by your Customers.

    To edit the Preview Page Template, log in and while on the "Summary" page, click on Settings for the form you wish to edit. Scroll down to "Preview Page Template" near the bottom of the page. Each one of your forms is edited from theForm Settings on the Summary Page.

    If you want to switch Previews off, that is you do not want to have a Previews shown to Customers filling in your forms, then in the given form's Settings, under the "Miscellaneous" tab, set "Show Preview of Form" to No, which is the default setting.

    Enter the HTML code that makes up your entire page, select the "Table Background Color" and then scroll to the very bottom of the page and click the button labelled "Save all Settings" to save your changes.

    The code for a Preview page might look something like the following :

    <html>
    <head><title></title></head>
    <body>
    Your logo etc. here

    %%%content%%%

    Your copyright info etc. here
    </body>
    </html>


    Remember to use absolute paths in your image tags and hyperlinks. Or start the paths with a slash which is the same as entering your website home address. See also, What you should do regarding form field names and their display on Preview Pages.

    Top of Page




    Thank You Page Template

    Website Error Pages Template

    This is your entire HTML page, from <html tag to </html> tag. Somewhere in the middle of your code, you need to type in the message you want printed on the Thank You page. You can use any or all of the markers available to personalize the Thank You message.

    To edit the Thank You Page Template, log in and while on the "Summary" page, click on Settings for the form you wish to edit. Scroll down to "Thank You Page Template" located at the very bottom of the page. Each one of your forms is edited from the Form Settings on the Summary Page.

    Enter the HTML code that makes up your entire page, and then scroll to the very bottom of the page and click the button labelled "Save all Settings" to save your changes.

    The code for a Thank You Page might look something like the following :

    <html>
    <head><title></title></head>
    <body>
    Your logo etc. here

    Thank you for filling in our form %%%fname%%%

    Your copyright info etc. here
    </body>
    </html>


    Remember to use absolute paths in your image tags and hyperlinks. Or start the paths with a slash which is the same as entering your website home address.

    Alternatively, you can redirect the Customer to a generic Thank You page. This can be achieved in one of two ways.

    1). Enter the absolute path (starting with http://) to your Thank You page in a hidden tag in your HTML form. E.g.

    <input type="Hidden" name="redirect" value="http://www.google.com">

    2). In the given Form's Settings, under the "Miscellaneous" tab, in the "Redirect User to" setting, enter the absolute path to your Thank You page. E.g.

    http://www.google.com

    Top of Page




    Creating your first form

    After you've entered your preferred Default Settings, click on "Create new" in the Admin Control Panel. Enter any reference name of the new form, it can be renamed later via the Form's Settings. You can Configure the Settings for this form at any time. To generate the minimum required code for this Form, click on the Form Name while on the "Summary" page. The code will appear in the Text box at the bottom of the same Page. Copy and paste that code to a regular HTML document and then load it in a browser to immediately use and test the form. You will of course need to upload that HTML document to your website when you're ready to go live so your Website visitors can also use the form.

    Top of Page




    What you should do

    There are few do's and do not's to keep in mind while using Attachment Mailer Plus. What you should do is listed here.

    1). Read this User Guide in it's entirety before creating any forms. You will be glad you did and it will make for a smooth and enjoyable experience with Attachment Mailer Plus.

    2). Set your Preferred Default Settings before creating any forms, in particular, the Admin Email address, Admin Name, Website Name and the Website Template. This is because it is these Settings that are copied over to each new form you create. If you plan to only create 1 or 2 forms, this is not so important, however if you plan to create more than a few forms, setting the Defaults will save you time.

    3). When adding additional file upload fields, make sure the name of the field is "FILEx" where x is any unique number and FILE is in uppercase. For example if you wanted to allow up to three file uploads in a form, you could use:

    <input type="File" name="FILE1">
    <input type="File" name="FILE2">
    <input type="File" name="FILE3">


    You can use as many as you think your server can handle.

    4). When adding Custom form fields to any form, use descriptive field names and underscores instead of spaces. This is because the Preview Pages, Error Pages and Admin Section list the filed names adjacent to the data entered by Customers. For example, lets say you had a required field in your form that requested the Customer's Country of Birth. We suggest you use this:

    <input type="Text" name="Country_of_Birth">

    This way, if the Customer forgets to enter their Country of Birth, the Error page will display:

    Error you forget to enter the following fields

    Country of Birth

    The form processor will replace the underscores with spaces. If you had entered,

    <input type="Text" name="countryborn">

    the error page would display

    countryborn

    which may not be very helpful for the Customer. So keep the form field names short but descriptive. Being concise is the key.

    5). When adding Textareas (large text box fields), append "TA" to the form field name. This is so Attachment Mailer Plus's form processor knows they are Textareas and retains the line breaks in Plain Text email, HTML email and when viewing Admin Section Submissions. This does not apply to the "comments" field. For example:

    <textarea name="comments"></textarea> good

    <textarea name="BioTA"></textarea> good

    <textarea name="Bio"></textarea> bad

    <textarea name="InstructionsTA"></textarea> good

    <textarea name="Instructions"></textarea> bad

    6). Send us your feedback. If you purchased Attachment Mailer Plus, you have an email address to get in touch with us directly. You made quite an investment in your Form Handler and we want to be sure you're happy with it, with it's performance and it's usability, integrity and stability. We encourage all feedback and suggestions for improvement.

    Top of Page




    What you should not do

    There are few do's and do not's to keep in mind while using Attachment Mailer Plus. What you should NOT do is listed here.

    1). Do not change or alter the fname, lname and email form fields generated by Attachment Mailer Plus. They must be in lowercase and must be in your forms. If you remove them, Customer Auto-responders will be sent to Admin with "No Name" as the name of the Customer. You can remove the FILE1 field and comments fields generated. These three fields have synonyms used by Attachment Mailer Plus which are displayed on Error Pages, Preview Pages and in the %%%ALLFIELDS%%% marker.

    2). Do not ignore any of the pointers given in this section and the section immediately above.

    Top of Page




    Managing Forms

    Viewing and Managing Forms forms is accomplished via the "Summary" page, which is the first page you see once you log in to the Admin Section. Functions available are listed in sortable columns. Click on the desired links in the row associated with the desired form.

    Top of Page




    How to redirect Forms

    You can redirect the Customer to a generic Thank You page after a form has been successfully submitted. This can be achieved in one of two ways.

    1). Enter the absolute path (starting with http://) to your Thank You page in a hidden tag in your HTML form. E.g.

    <input type="Hidden" name="redirect" value="http://www.google.com">

    2). In the given Form's Settings, under the "Miscellaneous" tab, in the "Redirect User to" setting, enter the absolute path to your Thank You page. E.g.

    http://www.google.com

    Top of Page




    Viewing Form Submissions

    Viewing Submissions made to Forms is accomplished via the "Summary" page, which is the first page you see once you log in to the Admin Section. Click on the Numbers in the Submissions column in the row associated with the desired form. This will load a complete synoptic History of Submissions for the selected form in chronological order (most recent Submission last). Click on the Date of any given Submission to view it's details. Remember, the order of fields in which these Submissions are displayed is governed by your Preferred Form Field Sorting Order.

    Top of Page




    Edit Form Submissions

    To edit a Submission made to a Form:

    1). Click on "Summary" in the Admin Control Panel.

    2). Click on the Numbers in the Submissions column in the row associated with the desired form.

    3). Click on the Date for the desired Submission in the Synoptic History.

    4). Apply desired edits.

    5). Scroll to bottom of Page and press the button labelled "Save Edits".

    If you check "Go back to Synopsis after saving" the Synoptic History page will be loaded after the saving the edits, otherwise the same (updated) Submission is reloaded with the edits having be recorded.

    Top of Page




    How to add custom form fields and file uploads

    When adding additional file upload fields, make sure the name of the field is "FILEx" where x is any unique number and FILE is in uppercase. For example if you wanted to allow up to three file uploads in a form, you could use:

    <input type="File" name="FILE1">
    <input type="File" name="FILE2">
    <input type="File" name="FILE3">


    You can use as many as you think your server can handle.

    Top of Page




    How to require fields

    If you want some of your forms fields to be required, then you specify those field names in a hidden field. Separate each field name with a comma but do not add any spaces. For example, if you had three fields you wanted required:

    <input type="text" name="email">
    <input type="text" name="address">
    <input type="text" name="city">


    ....then you would specify these as required fields using the following hidden field:

    <input type="hidden" name="required" value="email,address,city">

    Top of Page




    Download / Export Form Submissions

    Exporting your submissions is achieved via the Export Wizard. Click the numbers in the Submissions column. This will load a History of Submissions for the Selected Form. At the top of the page, beneath the Admin Control Panel, you'll see a link titled "Export CSV file". Click the link to load the Export Wizard.

    The Export Wizard lists the fields found in your first and last Submissions. If there are additional fields in other Submissions (for example fields you have removed from your forms since first creating them), you can enter those field names in the spaces provided. The default order of fields shown in the Export Wizard is governed by your Preferred Form Field Sorting Order for the selected form.

    To Export your data:

    1). Enter the column position for which the fields should appear in the results.

    2). Remove any fields from the Export Wizard which you do not wish to Export.

    3). Scroll to the bottom of the Export Wizard and select either "Print to Browser" in which case the results are printed to your Browser window, or "Export CSV" in which case a CSV file is created and then loaded in your browser.

    If Printing to Browser, view the resulting page's source code and save the file to your hard drive. The source code has each record on a separate line.

    If Exporting to CSV file and you have MS Office installed on your computer, the results are loaded in an Excel Spread Sheet inside your browser. You must then save the file. If you do not have MS Office or MS Excel installed, a download dialogue box will appear asking you to save the file to your hard drive.

    If the Export Wizard points you to a 404 error page or to http://www.yourservername.com/, you need to edit the afp_key.cgi file and enter your actual domain name in the $ExportURL variable on line 34. E.g.

    $ExportURL = "http://www.YOURSERVERNAME.com/psjs_datalogs/afp$FolderPass/data";

    Top of Page




    Special Markers

    The Special Markers available can be used in all Templates. The markers themselves are replaced with Customer Submitted data, allowing you personalize and customize e-mail notifications, Website Error Pages, Preview Pages and Thank You pages, including the ability to link directly to files uploaded, print just the file names and print the server paths to uploaded files.

    A full list of available markers is available from with the Admin Section. Log in and click on any of the Settings links. Scroll down to the "Admin Notification Template" and click on "Full list of Markers" to pop open a new window with instructions on using the markers.

    Top of Page




    Support

    If you have difficulties setting up this program, we can install it for you. Installation can be ordered via our Secure Online order form. If we are unable to install the program because of a problem with the program, your installation fee and the purchase price of the script will be refunded in full.

    Top of Page





    Attachment Form Mailer Plus 4.3.6 Description | Users Guide | F.A.Q. | Try the Demo
    Supported Servers:
    • Unix
    • Linux
    • Mac
    • Windows
    • Sun Solaris
    • FreeBSD
    • BSDOS
    Requires:
    • Perl
    • cgi-bin
    • CGI.pm V3.03+ for progress meter

  • Speed Search our site
    Plesk Hosting
    Linux servers with Plesk Control Panel, cgi-bin, crontab manager, Mysql, PHP and ASP.

    Survey Software
    Create unlimited web based surveys on your website from your website

    Discounted Scripts
    Subscribe to our periodial newsletter to receive special offers.

    Bathroom Hygiene
    How often do you thoroughly clean your bathroom?








    View all Polls

    Run Polls just like this one on your website!


    About us | Contact us | Script FAQs | Script Support | Website Hosting | Our Policies | Store | Testimonials
    Subscribers log in here. Subscribe to our periodical newsletter for special offers on commercial scripts, hosting, exciting business opportunities, and industry news and events. Our Mailing List Software is powered by Consolidator    
    HTML Plain text
    ©1999 - 2015 All content Copyright PerlScriptsJavaScripts.com Proudly hosted by LinuxHostingPlans.com