Request: More JS Events Please
-
Thanks so much for CF7. Just using it for the first time though I’ve heard about it for years now.
I had some weird requirements for my usage and wound up doing all manner of hackery to get things working. Certainly not the plugin’s job to meet all of my weird requirements but what would have made it simpler for me is if there were JS events transmitted as things happened (failed validation, sent failure, sent success…) — just like WordPress hooks.
I woundup doing something like this to catch the ‘sent’ event:
on_sent_ok: "$('body').trigger('CF7Sent');"and then listening/dom checking from there but actual transmitted events on the form, form elements or even body would be a welcome addition!Sure you’re busy and sorry I’m all lip and no code. 🙂
Cheers,
Will
The topic ‘Request: More JS Events Please’ is closed to new replies.