[Pro] antiSpam form trick?

I’m trying to devise a simple way to identify a bot from a real person filling out forms on one of my sites.

I would like to set up a text box with the answer to this question:

What color is this word? BLUE

The word “Blue” of course would be colored RED.

So the answer is RED and that is what the person would have to write in the text box.

If the word he writes is not “red” then the form is not submitted.

Can this be accomplished simply? VALIDATE ACTION does not seem to validate for a specific word-- just either a text or numeric entry.

I know this will not stop a human spammer-- but I think it might stop a bot…

thanks in advance…

TODD


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

A spammer will not run JavaScript validation, either, so you need to do this on your server. If you use Tim Plumb’s PHP Feedback Form Action to process your form on your server, there is a “honeypot” option in that Action which will unobtrusively trap many spam-bots. It works by creating a form field that is hidden from human visitors, but which is part of the form, so the bot sees it and fills it out. If there is any value in that field when it reaches your server, the form submission is quietly dropped on the floor and never sent by mail. This is one of my favorite spam-combating tricks, because it doesn’t clue the spammer in to how they’re being trapped, and doesn’t tell them that their message won’t be delivered.

Walter

On Apr 19, 2014, at 2:57 PM, DVTVFilm wrote:

I’m trying to devise a simple way to identify a bot from a real person filling out forms on one of my sites.

I would like to set up a text box with the answer to this question:

What color is this word? BLUE

The word “Blue” of course would be colored RED.

So the answer is RED and that is what the person would have to write in the text box.

If the word he writes is not “red” then the form is not submitted.

Can this be accomplished simply? VALIDATE ACTION does not seem to validate for a specific word-- just either a text or numeric entry.

I know this will not stop a human spammer-- but I think it might stop a bot…

thanks in advance…

TODD


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

How does the human know?

Ray
On Apr 19, 2014, at 3:18 PM, Walter Lee Davis email@hidden wrote:

A spammer will not run JavaScript validation, either, so you need to do this on your server. If you use Tim Plumb’s PHP Feedback Form Action to process your form on your server, there is a “honeypot” option in that Action which will unobtrusively trap many spam-bots. It works by creating a form field that is hidden from human visitors, but which is part of the form, so the bot sees it and fills it out. If there is any value in that field when it reaches your server, the form submission is quietly dropped on the floor and never sent by mail. This is one of my favorite spam-combating tricks, because it doesn’t clue the spammer in to how they’re being trapped, and doesn’t tell them that their message won’t be delivered.

Walter

On Apr 19, 2014, at 2:57 PM, DVTVFilm wrote:

I’m trying to devise a simple way to identify a bot from a real person filling out forms on one of my sites.

I would like to set up a text box with the answer to this question:

What color is this word? BLUE

The word “Blue” of course would be colored RED.

So the answer is RED and that is what the person would have to write in the text box.

If the word he writes is not “red” then the form is not submitted.

Can this be accomplished simply? VALIDATE ACTION does not seem to validate for a specific word-- just either a text or numeric entry.

I know this will not stop a human spammer-- but I think it might stop a bot…

thanks in advance…

TODD


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Ray


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Walter…

Okay-- I applied Tim’s PHP Feedback Form action to the Table that contains the form fields.

Do I need to change the page to .php instead of .html to make it work?
I don’t see that info on Tim’s page regarding this action

thanks

TODD


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Do I need to change the page to .php instead of .html to make it work?

No - the php file is created by the action and uploaded separately by FW as part of the upload process.

It is important that if you are using Tim’s action that you name your Name and Email fields correctly - with these fields selected look under the 3rd Tab in the inspector. They should be name and email respectively (case sensitive)

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

No - the php file is created by the action and uploaded separately by FW as part of the upload process.

And just to add to this - the page will still work if you call it whatever.php but you will lose the ability to preview your page locally (on your Mac).

There is no php in your page with the form on it but there is an instruction to send the contents of the submitted form to a whatever-go.php page for processing.

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

They don’t know, they can’t see the field at all. That’s the beauty of it. You don’t punish the humans for the bots’ behavior.

Walter

On Apr 19, 2014, at 4:11 PM, Ray Beaudry wrote:

How does the human know?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Fantastic We’ll know in a few days if this works.

Many thanks


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

It is important that if you are using Tim’s action that you name your Name and Email fields correctly - with these fields selected look under the 3rd Tab in the inspector. They should be name and email respectively (case sensitive)


Okay-- that part confused me…

I don’t see NAME

Here is screenshot of what I do see…

http://www.themonketkingsdaughter.com/FTPFiles/PHPAction.png

Have I missed something?

thanks

TODD


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

only works if I spell it correctly… duh…

http://www.themonkeykingsdaughter.com/FTPFiles/PHPAction.png


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Look under the 3rd Tab with either the name field or email field selected


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Ah…

We have: 01_Name and 10_Email in those respective fields.

Since there are 43 possible entries we could receive from this form, we numbered them so they would print in defined order in the resulting email.

Do we need to change this for these two fields only? – to “name” and “email” ? or the action will not work?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

The fields will be returned in source-code order. Put all your fields in a table and they will be exactly in the order you place them, every time. You must name them precisely name (lower-case) and email (also lower-case). Every other field in the form can be named any other way you like.

Walter

On Apr 19, 2014, at 10:00 PM, DVTVFilm wrote:

Ah…

We have: 01_Name and 10_Email in those respective fields.

Since there are 43 possible entries we could receive from this form, we numbered them so they would print in defined order in the resulting email.

Do we need to change this for these two fields only? – to “name” and “email” ? or the action will not work?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Excellent then.

I still have the “validate action” on the email entry.

No problem?

many thanks

TODD


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

The PHP Feedback Form Action will validate the e-mail address on the server, which is always more reliable than in-browser. You can leave both in place if you like, it shouldn’t hurt anything.

Walter

On Apr 20, 2014, at 11:51 AM, DVTVFilm wrote:

Excellent then.

I still have the “validate action” on the email entry.

No problem?

many thanks

TODD


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

we numbered them so they would print in defined order in the resulting email.

Numbering them isn’t going to make any difference to how they print out.

Source order determines that.

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Seems to be working perfectly.

I’ll report back next week to see if any thing slips through… but this is really great

Many thanks

TODD


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options