I have a form on my website, which displays 2 types of notifications in a div (with JavaScript).
1) notification when the form was successfully processed “Your message was successfully submitted”.
2) notification when the form contains errors in the fields “Correct the fields before submitting”.
I would like to receive an alert every time the form displays the “correct fields before submitting” alert (this DIV is displayed). I would like to receive an alert via email only showing the time and date of the moment. Is it possible to do it with some external application?
What I need is an application or tool, which observes the changes in the DOM and notifies me immediately via email. Any idea how to do it?
[ad_2]
No idea why you’d want this, but it sounds like you want to bypass the validation without letting the visitor know, so when they click submit you still get the email but they see an error and go again?
Have some javascript that makes a `fetch` call to an email API such as
Why are you wanting to do this? It’s extremely weird.