Huggins Email Form ScriptHuggins' Email Form Script - Example Form #1

This Form

This form illustrates a broad sample of features of Huggins' Email Form Script. It illustrates some of the edits which are possible and it also illustrates the error reporting system. Feel free to try it here on this site. As you try it, enter "wrong data". For example, enter an illegal email address. Or enter different values in the phone number and phone number confirmation field. Or check too few or too many boxes. Once you get it right, the script will process.

Confirmation Email

If you enter your correct email address, you will receive back an email confirmation of what you enter. In addition, when I get your email I normally will reply back with a copy of what the system sent me, just to help out. (Note that my reply might take 24 hours because I'm not always sitting at my computer.)

Simple to Use Yet Full Featured

Just because it is full featured, don't think it is complex. While this script provides substantial features for input checking and output formatting, these features are optional. It is possible to have this script accept a form, send the email, and then go to a new page on your site by (1) changing the "<form>" parameter to point to the script, and (2) adding two simple parameters to specify the addresses to send to and the new page to go to. This script provides the full spectrum from fast and easy to use all the way to sophisticated use. The documentation even includes a quick start guide to get your form working fast and then allows you to add more customized features.

HEFS Bulletin

In addition, I strongly encourage you to sign up for the HEFS Bulletin. I use this email list to notify users of bug fixes and new versions.

Copy of This Page

Just because, the "distribution" of the script includes a full copy of this page for you to study and/or use however you can.

Special Notice

This script uses Version 2.2.5 of the script. This new version became available 28.Sep.2013. This version includes all the changes that have been slowly added to the script over the past several years, including (1) substantially improved ability to control the look/feel of the error page( even following a "template" of your own site), (2) the ability store the answers in a CSV file on your server, (3) minimal improvements in the support of Windows Servers. While this particular demo page does not demonstrate all these features. please know they are there. In addition, I again strongly encourage you to sign up to receive the HEFS Bulletin.

 

 

The Form

* below indicates a required field

Why are you filling out this form?*
 
    Use of a pull down list like this can be configured to help stop spambots. This one, for example, requires a selection. Spambots frequently "send" the form with the default. This test form checks for that circumstance.
See the edit on the field named "why" in FormField-NameEditList in the source for this page.

 
First Name*
 
    In this form, First Name and Last Name are combined to form the full name. This is used for the emails which are sent.
First Name is set to required in FormField-NameLabel-PlusList in the source for this page.

 
Last Name
 
If Last Name is supplied, it will be combined with First Name for the address of the echo Message.
See FormName-FieldList. See also FormField-NameLabel-PlusList where Last Name is set to not required.

 
Gender
 
  Male
Female
Was female, now male
Was male, now female
Would rather not say
Not sure
 
  These radio buttons are grouped under the name "gender". See Msg1Field-NameValue-SubstitutionList to see how the radio button values of V1 thru v6 are translated to their text equivalents. Note that FormField-NameLabel-PlusList also references "gender".
Email Address*

Please note that if you use a "false" email address you won't see the results and there really isn't any point in doing this test at all.
 
    Email Address must be a legal email address and must match Confirm Email Address.
See FormEmail-FieldList.

 
Confirm Email Address*
 
    See FormEmail-FieldList.
 
Business Email Address
 
    Business Email Address must be a legal email address and must match Confirm Business Email Address.
See the edit on the field named "businessemail" in FormField-NameEditList.

 
Confirm Business Email Address
 
    See the edit on the field named "businessemail" in FormField-NameEditList.
 
Phone Number
 
    Phone Number must match Confirm Phone Number.
See the edit on the field named "phone" in FormField-NameEditList.

 
Confirm Phone Number
 
    See the edit on the field named "phone" in FormField-NameEditList.
 
Company
 
   
 
If winter is cold, summer is?*
 
    This is the pseudo-Captcha field.
See the edit on the field named "test78" in FormField-NameEditList.

 
For Office Use Only. Do not put anything in this field.
 
    This is an attraction field. It attracts the spambots to put something in it. That will cause a failure.
See the edit on the field named "email2" in FormField-NameEditList.

 
What do you want? (Boy, Girl or Dog)
 
    Must be a value of "boy", "girl" or "dog". Case does not matter.
See the edit on the field named "whatdoyouwant" in FormField-NameEditList.

 
Anything except "star" or "trek" or "star trek" or "startrek"
 
    Must not be "star" or "trek" or "star trek" or "startrek". Case does not matter. Note that "stars", "trekker" and "startrekker" are all legal.
See the edit on the field named "notstartrek" in FormField-NameEditList.

 
Number of Children
 
    Integer between zero and 20. Also, if you enter a decimal number (e.g., 2.5) you will get an error.
See the edit on the field named "numberofchildren" in FormField-NameEditList.
 
Your Weight
 
    Number between 50 and 1000. Decimal values are permitted.
See the edit on the field named "yourweight" in FormField-NameEditList.
 
Misc Characters
 
    Letters and some characters ("@#$%^") are legal. Note that numbers and also "!", "*", "(" and ")" are not legal.
See the edit on the field named "misccharacters" in FormField-NameEditList.

 
Areas of Interest*

Please select 3 to 6 areas of interest
 
  Mountain climbing
Swimming
Talking with aliens
Camping
Complaining about government
Complaining about politicians
Bowling
Vegging out in front of the television
 
  These 8 checkboxes (c1 thru c8) may be checked. The edit forces 3 to 6 to be checked.
See the edit on Areas of Interest in FormField-NameEditList. Also, see the specification of the checkboxes in FormField-NameLabel-PlusList.
 
Please help me!
 
      Finally, you can do me a huge favor. As you use this form, type some info here to tell me what you are doing. Are you thinking of using my script? How did you find my script? Are you already working to implement my script and trying to figure out how to use it? Are there features you need that it doesn't have? In other words, tell me more about how you got here and what you are doing. And don't hesitate to ask for help if you need it. 



Don't forget to sign up for the HEFS Bulletin.




This page recreated:
Wed, 01.Aug.2012

Last updated:
21:02, Thu, 01.May.2014


NOTICE --- SITE  UNDERGOING REWRITE - SEE LINK BELOW FOR DETAILS

 Explanation of the rewrite: New Page Layout.
 Check out my blog: My Ephemerae
 Yes ... I want you to link to my site Please link to me
 Want to email me? I'd love to hear from you.
 I have begun tutoring in the South Houston, Texas area.