Validation is bypassed by spambots

  • ahotzler
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0

ahotzler created the topic: Validation is bypassed by spambots

Hello,

for spam protection use an obligatory field of type textonly with this validation:
function ff_Spamschutz_validation(element, message)
{
    if (element.value != "9") {
        if (message=='') message = element.name+" faild in my test.\n"
        ff_validationFocus(element.name);
        return message;
    } // if
    return '';
} // ff_Spamschutz_validation

The user has to calculate something and the result is "9". If the whole thing is tested in the browser, then I can only send the form if I type "9" into the field.

Spambots manage to send the form with different values:

Name: WilliamPuple
Tel: 83572111164
E-Mail: alotau@msn.com
Message: Die 8 besten Orte, um Frauen fr Sex online kennenzulernen: s.coop/234ha?fGuIX
Spamschutz: WilliamPuple


In this example, it was possible for the spammer to send the form and enter "William..." in the "Spam protection" field, which was not supposed to work.

What am I doing wrong?
#237027
  • Posts: 2561
  • Karma: 87
  • Thank you received: 344

mihaela replied the topic: Validation is bypassed by spambots

Hello,

Unfortunately, sometimes BOTs somehow manage to bypass the validation scripts. Therefore, can you please try to add the ReCaptcha element to your form to minimize the chance from that happening. Even though the required fields can stop some bots, I suggest that you use ReCaptcha as well.

Also, you can try to implementthe honeypot solution to your form crosstec.org/en/support/online-documenta...ts/210-honeypot.html .

Let me know whether this helped.

Regards,

Mihaela
#237028
The following user(s) said Thank You: ahotzler
Moderators: ForumSupporttomeperica
Time to create page: 0.061 seconds

New Icon Packs Category!

Crosstec is now offering icon packs.

If you are a paying subscriber, icon packs are automatically added to your account.

Check out our icon packs page!

Live Support Chat Opened!

Join our Discord chat here to receive live support and talk directly to the team!

Summer Sale!

50% discount on all of our extension subscription plans, templates and icon packs!

Get Your Subscription Here

News and Updates

Get informed about new downloads, updates and more in our News and Updates newsletter.

All Extensions Subscription

Get 1 year access to all of our current and future products and 1 year of professional support -- 99 for just 49! (Summer Sale)

No support per domain or website installation limits! Includes all of our current and future Joomla!® extensions, Joomla!® templates for the duration of your membership. This means, by purchasing an All Extensions Subscription you'll have it all covered!

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!

Live Support Chat Opened!

Join our Discord chat here to receive live support and talk directly to the team!

Community Reward

Help us to create new extensions and plugins! With only $5 you help us a lot and get unlimited download access to all of our products, professional support and even more. Get your reward now!

Read More Here