2 weeks ago
I'm not able to think of any solution to this.
2 weeks ago - last edited 2 weeks ago
Can you post a sample of the html?
A few things to think about:
- can you add a click handler to the submit button that looks for the presence (or visibility) of error messages, collates the messages and then calls utag.view with the data?
- can you add a blur handler to the form elements to post a GA call if that element is at error?
- can you add a mutation observer to the form, or the form error message elements, to watch for changes (either sub-element changes if the error messages are added, or stlye changes if they are made visible)?