Dinesh,
Greetings from Florida! I thought I posted this already, but must have done something wrong because I cannot find it.
I am managing a site that was created for us. I have many years of database development experience, but not much web experience.
Our site has WP Armour v2.1.5 plug-in installed.
WP Armour seems to be active on a Gravity form (“join mailing list”), used in footer and it shows counts on the Statistic tab
I have a page with a form in HTML that posts to our CRM (and was getting hammered with ads for Russian girls).
I looked at your post https://dineshkarki.com.np/add-wp-armour-support-for-your-custom-forms.html
– Added wpa_initiator to form.
– Created a function (checkSpam) based on the blog code and updated form to call it (onsubmit=”return checkSpam()”).
instead of return: $GLOBALS[‘wpa_error_message’];
I have: return false;
When I view the page during editing, I see the “Act as Spam Bot” div on both my form, and in the footer (for “join mailing list”)
But, when my form is submitted, it throws an error “wpa_check_is_spam in not defined.”
I examined the page source, and found one related script included:
/wp-content/plugins/honeypot/includes/js/wpa.js?ver=2.1.5
but it does not contain that function.
Is there another item to add to the page for this to work?
Best,
Scott