Request for on_sent_fail callback.
-
I spent at least 3.5 hours attempting to integrate a JavaScript callback to be triggered when a user unsuccessfully submits a form. Absolutely no luck, and no discernible code I could hook into to piggyback on. Would it be possible to implement an “on_sent_fail” callback similar to the way we have an “on_sent_ok” callback?
If you’re wondering, this was a failed attempt at adding event tracking with Google Analytics to analyse user drop-off. Different forms required different category/label/action parameters to be sent to the “ga” function, and I couldn’t rely on global variables either – each form had more than one contact form, each possessing different parameters.
Please implement this feature… I can’t imagine it’d be terribly difficult, and it’d be a very helpful addition to a plugin that’s pretty much already got the lot. =)
Thanks!
The topic ‘Request for on_sent_fail callback.’ is closed to new replies.