Custom php validation
-
Hi,
We’re getting a lot of spam and want to do some custom php validation on one of our fields. Note we already have recaptcha and honeypot enabled but get spam every single day. We have a hidden field which the spammers always blank so I’d like to try some extra validation to stop them submitting the form.Is there an action hook I could use to check if this particular field is NULL, and if so return a message (a fake success message) but not submit the form?
I’ve tried this “forminator_custom_form_submit_errors” however I don’t want to show an error below a field (or focus on any field), and the main message is “Error: Your form is not valid, please fix the errors!” – which I’d like to control.Thanks!
- The topic ‘Custom php validation’ is closed to new replies.