We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 42101
    • 125 Posts
    Dear People,

    I am using Formit to get messages via my websites. I have setup everything like this:

    [[!FormIt?
       &hooks=`recaptcha,spam,email,redirect`
       &emailTpl=`email.pro.tpl`
       &emailTo=`[email protected]`
       &emailSubject=`website| message`
       &validate=`message:blank,email:required,text:required:stripTags` 
       
     ]]


    The form works without problems.

    To fool the bots I have already renamed some of my input fields- but it doesn't work out - so I decided to use reCaptcha hook - but now I am just getting
     
    Input error: k: Format of site key was invalid
    when the form is rendered on the frontend - even I have setup the reCaptcha codes in system settings correctly using this in my contact formular:

     [[!+formit.recaptcha_html]]
    [[!+fi.error.recaptcha]]


    I really tried everything: spam empty field, "honeypot" field "message"....

    I have also created a field where you can choose from different values - like a drop down: the standard text is "please make your choice"
    maybe I can make this a required action - because spam bots don't make a choice - the always use tge "please make your choice"...


    Any help would be great - those fu!*ing Spam Mails making me nuts... smiley

    Would be great if someone could give me hint how to make a rock solid no spam form. Thanks!!!

    thanks!

    AD
      • 9995
      • 1,613 Posts
      maybe something like this is possible?
      hidden date field

      http://cristersmedia.com/eliminate-spam-in-modx-eform-without-captcha
        Evolution user, I like the back-end speed and simplicity smiley
        • 30912
        • 463 Posts
        Ive used this approach and it 'seems' to work so far:

        https://forums.modx.com/thread/?thread=84814&page=1
          • 3749
          • 24,544 Posts
          If you just need a contact form, try SPForm. It has a wide variety of spam-fighting options and for me it has been completely spamproof. With the math option, I don't think any bot can get past it.

            Did I help you? Buy me a beer
            Get my Book: MODX:The Official Guide
            MODX info for everyone: http://bobsguides.com/modx.html
            My MODX Extras
            Bob's Guides is now hosted at A2 MODX Hosting