Software, your way.
burger menu icon
WillMaster

WillMasterBlog > CGI

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!

Setting Up Auto-Submission Protection (Without CAPTCHA)

Master Form V4 has form hijacking protection built in and automatic submission protection is available.

Hijacking is referred to, here, as taking over the script and sending spam to many others, possibly thousands, by subverting the header lines of outgoing email — all sent from your server.

Automatic submission protection is a bit different. Because it does take some server resources and some people might not want it (for now), it needs to be turned on to be effective. Automatic submission is referred to, here, as using a robot to submit the form, the submission being emailed to whoever would normally get the form submission email.

Auto-submission protection is available from Master Form V4 version 4.5 and later.

How To Set Up Auto-Submission Protection

To turn automatic submission on, two things need to be done, in this order:

Step 1:

Click the control panel's "Auto-Submit Protection" link.

The fourth line from the top, you'll see a "[click to reveal instructions and uncover checkbox]" link. Click that. It will reveal more content, including a checkbox, but don't check it yet; wait until step 2.

A little further down, four lines below the checkbox, you'll see a "[click to reveal]" link. Click that.

You'll find several textarea boxes of text. Select the one with the JavaScript code and copy it to your clipboard.

Now, paste that JavaScript into each form that uses that particular installation of Master Form V4. The code should be pasted somewhere below the last form field and above the cancel </form> tag.

Each form must have that code as a first step. Any that do not will break if step 2 is done before the forms get the code.

Step 2:

Now, we can check that checkbox.

To find the checkbox again, click the control panel's "Auto-Submit Protection" link and then the "[click to reveal instructions and uncover checkbox]" link.

Once the current forms all have auto-submission protection, it's easy to keep up. Simply pop the JavaScript into any new forms you create and they're automatically protected.

For your convenience, recent versions of Master Form V4 have a link to click for automatically updating to the latest version.

Will Bontrager

Was this blog post 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 Blog articles is presented AS-IS.

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.

Recent Articles in the Library

Extracting Dates From the Unix Timestamp

The UNIX timestamp can be used to determine the represented time for any time zone on Earth.

Submit Form Data Without Bothering User

To silently and effectively submit a form on a web page, Ajax with FormData() can be used.

CSS Dots

CSS dots can be used for interactions between web page and website user.

Email Testing

One thing to test when email doesn't get sent or doesn't arrive is whether the server actuall sends email.

Tap to Select

Find out how to make a link or button to select the content in a div or other HTML element.

Capitalizing the First Letter of Words

Here, find both PHP code and JavaScript code to capitalize the first letter of a word.

Fixed-position Table Header

During a vertical scroll, the table header scrolls out of view -- unless the header is fixed in position.

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-2024 Will Bontrager Software LLC