We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 40088
    • 708 Posts
    Revo 2.6.0
    FormIt 3.0.4

    I’m using the following hooks in this order: recaptchav2, spam, email, FormitSaveForm.

    My question is: Should spam come before recaptchav2?
      Todd
      • 3749
      • 24,544 Posts
      My guess is that with recaptchav2, you wouldn't actually need the spam hook. I suspect that the spam hook doesn't do much, since any intelligent bot would know enough not to fill in a hidden form field. I could be wrong.

      I don't have an opinion on the order. In theory, they should work either way, but it would take some time-consuming testing with cURL to be sure about the spam hook, though you can test the recaptcha hook easily enough.
        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