TOPIC:

Honey Pot 10 years 7 months ago #64777

  • Topic Author
  • ataucher
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 4
  • Thanks: 0
I've got some issues with spam bots submitting emails. The captcha feature actually stops this from happening but I'm concerned because our international users will have a hard time with this, resulting is less conversions of our form.

Is there another way to stop the spam besides having to type in the captcha?
Ideally I'd like to add a hidden field with css to the form but I don't even know where to find the file to edit. Could someone point me in the right direction?

Please Log in or Create an account to join the conversation.

Re: Honey Pot 10 years 7 months ago #64795

  • TheMuffinMan's Avatar
  • TheMuffinMan
  • Offline
  • Developer
  • Developer
  • Posts: 10062
  • Karma: 167
  • Thanks: 809
Hi,

yes, there is. For example:

- Add a hidden input field as first element in your form and give it the name "message_text"

- Go to form => advanced tab => more options => submit pieces => begin submit => click "custom" => enter this in the code box:
$this->execPieceByName('ff_InitLib');
if( ff_getSubmit('message_text') != '' ){
  exit; // well, it should be empty
}

This should trap most spam bots and you might be able to leave out the captcha.
If there are still some bots making it through, just add some more input fields.
If the bots don't try to fill in hidden inputs, then add a regular text element and use "turn off" in its advanced tab.

Let us know your experience with this!

Regards,
Markus

Please Log in or Create an account to join the conversation.

Last edit: Post by TheMuffinMan.

Re: Honey Pot 10 years 7 months ago #64939

  • Topic Author
  • ataucher
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 4
  • Thanks: 0
Excellent thank you. I implemented this and will keep an eye on the submissions to see if it keeps them away.

Please Log in or Create an account to join the conversation.

Re: Honey Pot 10 years 6 months ago #66893

  • Topic Author
  • ataucher
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 4
  • Thanks: 0
It looks like this spammer is a tricky one, some spam was still getting through so I decided to add a text field and "turn off" in the advanced tab. I'd also like to add more hidden fields but noticed I'd need to edit the code in the submit pieces tab.

Would it look something like this?
$this->execPieceByName('ff_InitLib');
if( ff_getSubmit('message_text' || 'field_name' || 'field_name3') != '' ){
  exit; // well, it should be empty
}

Thanks.

Please Log in or Create an account to join the conversation.

Re: Honey Pot 10 years 6 months ago #67027

  • TheMuffinMan's Avatar
  • TheMuffinMan
  • Offline
  • Developer
  • Developer
  • Posts: 10062
  • Karma: 167
  • Thanks: 809
Hi,

try this
$this->execPieceByName('ff_InitLib');
if( ff_getSubmit('message_text') != '' || ff_getSubmit('field_name') != '' || ff_getSubmit('field_name3') != ''){
  exit; // well, it should be empty
}

If that doesn't work, then please create a regular text field, but turn it off in its advanced tab. So it will be rendered in html but not appearing in the form (but still submitting its value if any). Then apply the same on it like above.

Regards,
Markus

Please Log in or Create an account to join the conversation.

Honey Pot 9 years 1 month ago #96826

  • flos
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 75
  • Thanks: 0
Hallo

Ich habe den Code eingesetzt und das FEld erstellt und lass es nicht anzeigen.
Bei Version 1.8.2 funktioniert es prima.
Bei Version 1.8.3 aber kommt folgende Fehlermeldung:

*** AUSNAHMEBEDINGUNG DURCH FACILEFORMS AUFGEFANGEN ***
PHP Fehlerstufe : E_WARNING
PHP Dateiname : /home/x/public_html/components/com_breezingforms/facileforms.process.php(1219) : eval()'d code
PHP Zeilennummer: 12
Letzte Position : ff_getSubmit bei Zeile 2
Fehlermeldung : Invalid argument supplied for foreach()


*** AUSNAHMEBEDINGUNG DURCH FACILEFORMS AUFGEFANGEN ***
PHP Fehlerstufe : E_WARNING
PHP Dateiname : /home/x/public_html/components/com_breezingforms/facileforms.process.php(1219) : eval()'d code
PHP Zeilennummer: 12
Letzte Position : ff_getSubmit bei Zeile 2
Fehlermeldung : Invalid argument supplied for foreach()


*** AUSNAHMEBEDINGUNG DURCH FACILEFORMS AUFGEFANGEN ***
PHP Fehlerstufe : E_WARNING
PHP Dateiname : /home/x/public_html/components/com_breezingforms/facileforms.process.php(1219) : eval()'d code
PHP Zeilennummer: 12
Letzte Position : ff_getSubmit bei Zeile 2
Fehlermeldung : Invalid argument supplied for foreach()

Please Log in or Create an account to join the conversation.

Moderators: ForumSupport
Time to create page: 0.052 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

September Discount!

Massive discounts on all subscriptions!

Get Your Subscription Here

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!