Title: Javascript event triggering
Last modified: October 21, 2019

---

# Javascript event triggering

 *  Resolved [NSPT](https://wordpress.org/support/users/nsptfr/)
 * (@nsptfr)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/javascript-event-triggering/)
 * Hello,
 * Is there some event to be call when the user is submitting a HTML form ?
 * Example: the plugin Contact Form 7 triggers ‘wpcf7mailsent’ when a user has succesfully
   sent a mail.
 * Regards,

Viewing 1 replies (of 1 total)

 *  [Mushrit Shabnam](https://wordpress.org/support/users/611shabnam/)
 * (@611shabnam)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/javascript-event-triggering/#post-12056035)
 * Hello [@nsptfr](https://wordpress.org/support/users/nsptfr/),
 * When a user submits HTML form or they submit any post using WPUF, **wpuf_add_post_after_insert**
   this hook runs after a new post is created, all the custom taxonomies and post
   meta are saved.
 * You can learn about this from our developer [documentation](https://wedevs.com/docs/wp-user-frontend-pro/developer-docs/actions/wpuf_add_post_after_insert/).
 * Regards,

Viewing 1 replies (of 1 total)

The topic ‘Javascript event triggering’ is closed to new replies.

 * ![](https://ps.w.org/wp-user-frontend/assets/icon-256x256.gif?rev=2818776)
 * [User Frontend: AI Powered Frontend Posting, User Directory, Profile, Membership & User Registration](https://wordpress.org/plugins/wp-user-frontend/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-user-frontend/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-user-frontend/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-user-frontend/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-user-frontend/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-user-frontend/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Mushrit Shabnam](https://wordpress.org/support/users/611shabnam/)
 * Last activity: [6 years, 7 months ago](https://wordpress.org/support/topic/javascript-event-triggering/#post-12056035)
 * Status: resolved