Stop form submit after ‘elementor_pro/forms/validation’ hook
-
Hello,
I have to manage Elementor pro form hook for custom purposes.
As I found in this Github thread https://github.com/elementor/elementor/issues/5006 I can hook and add error message to my form.
I successfully implement it and my error message is displayed as intended as the form is not sent. But, I configure (through the backend) an email confirmation, and event if the form as errors the mail was sent.
I try to hook with elementor_pro/forms/mail_sent but I don’t find a way to stop it.
As I don’t understand the others hooks are fired even if the form has errors or not.
Thanks
The topic ‘Stop form submit after ‘elementor_pro/forms/validation’ hook’ is closed to new replies.