burger menu icon
WillMaster

WillMaster > LibraryOur Software in Action >  >Master Form V4 in Action

FREE! Coding tips, tricks, and treasures.

Possibilities weekly ezine

Get the weekly email website developers read:

 

Your email address

name@example.com
YES! Send Possibilities every week!

Using Master Form V4 as an Autoresponder

Master Form V4 is probably the most versatile form handling CGI programs available to webmasters today. It is our best selling CGI program.

This article will talk about how Master Form V4 can be used as an autoresponder which may have file attachments. If you're interested in its other features, see Master Form V4 Product Page

If you're making an autoresponder that always sends the same document, then make a simple form that asks for an email address, and maybe name and other information. The hidden field name="emailtemplate" specifies the location of the email template that contains the document you're returning.

Email templates can specify one or more attachments. If you're sending an ebook or something in exchange for contact information, this would be the way to do it.

On the other hand, you may want to let the user select which document(s) s/he wants to receive, you can make a form with either radio buttons (for limiting to one selection) or checkboxes (to allow selection of any or all).

First, make an email template for each autoresponse document the form will have. If you want to attach a file to any of the emails, put a placeholder like this near the bottom of the template for each file want to attach:

[[ATTACH filename.pdf]]

(Replace filename.pdf with the name of the file you are attaching.)

That is the simple procedure for attaching a file to email sent by Master Form V4.

Once the email templates are ready, create the form with radio buttons or checkboxes where the user can select the documents to be sent.

Each radio button or checkbox form field's name will be "emailtemplate" and the field's value will be the location of the email template for that particular document. Example:

<input 
type="checkbox" 
name="emailtemplate" 
value="templates/HowToSell.txt">
"How To Sell"
<br>
<input 
type="checkbox" 
name="emailtemplate" 
value="templates/HowToRelax.txt">
"How To Relax"

From the radio buttons or checkboxes the user checks on your form, Master Form V4 will know which email template or templates to use when responding.

The outgoing email can be text or HTML, and can have attachments, just like high priced autoresponders. And that uses just a few of the features Master Form V4 has available.

Will Bontrager

Was this article helpful to you?
(anonymous form)

Support This Website

Some of our support is from people like you who see the value of all that's offered for FREE at this website.

"Yes, let me contribute."

Amount (USD):

Tap to Choose
Contribution
Method

All information in WillMaster Library articles is presented AS-IS.

Support Area – Ask Your Question Here

The "Code in articles help" forum at the Willmaster.com support area is the place to get information about implementing JavaScript and other software code found on Willmaster.com

We only suggest and recommend what we believe is of value. As remuneration for the time and research involved to provide quality links, we generally use affiliate links when we can. Whenever we link to something not our own, you should assume they are affiliate links or that we benefit in some way.

Need Custom Software?
Click to
tell us about
your project.

How Can We Help You? balloons
How Can We Help You?
bullet Custom Programming
bullet Ready-Made Software
bullet Technical Support
bullet Possibilities Newsletter
bullet Website "How-To" Info
bullet Useful Information List

© 1998-2001 William and Mari Bontrager
© 2001-2011 Bontrager Connection, LLC
© 2011-2026 Will Bontrager Software LLC