Title: Form submitted
Last modified: July 1, 2022

---

# Form submitted

 *  Resolved [Theo Pape](https://wordpress.org/support/users/theo38/)
 * (@theo38)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/form-submitted/)
 * Hi Fabian,
 * I have a request, as I don’t see this in the code. You currently have a couple
   of JS actions, including [https://advancedforms.github.io/actions/af/form/page_changed/](https://advancedforms.github.io/actions/af/form/page_changed/)
   This one is really useful, as it allows us to send events to GA so that we can
   track how far through our users have got with their onboarding, which uses an
   advanced form. However, I don’t seem to see an action for when the form is submitted
   and validation is passed. You only seem to have a hook for when this is submitted
   via AJAX?
 * Are you able to add this action?
 * Thanks,
    Theo
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fform-submitted%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Phil Kurth](https://wordpress.org/support/users/philkurth/)
 * (@philkurth)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/form-submitted/#post-15796940)
 * Hey [@theo38](https://wordpress.org/support/users/theo38/)!
 * It sounds like you’re looking to fire some custom JS right before a form submits.
   If that’s correct, I suggest adding a custom submission step as demonstrated 
   in this support article I’ve recently put together:
 * [https://hookturn.freshdesk.com/support/solutions/articles/44002348733](https://hookturn.freshdesk.com/support/solutions/articles/44002348733)
 * Hope that helps — let me know if there’s anything else.
 * Cheers,
    Phil
 *  Thread Starter [Theo Pape](https://wordpress.org/support/users/theo38/)
 * (@theo38)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/form-submitted/#post-15798219)
 * Hi Phil,
 * Thanks for the support, but that doesn’t appear to do anything for me…
 * Thanks,
    Theo
 *  Thread Starter [Theo Pape](https://wordpress.org/support/users/theo38/)
 * (@theo38)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/form-submitted/#post-15798765)
 * Oh apologies, that works! I had that in the wrong place.
 *  Plugin Author [Phil Kurth](https://wordpress.org/support/users/philkurth/)
 * (@philkurth)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/form-submitted/#post-15800710)
 * Nice. Thanks for letting me know, [@theo38](https://wordpress.org/support/users/theo38/).

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Form submitted’ is closed to new replies.

 * ![](https://ps.w.org/advanced-forms/assets/icon-256x256.png?rev=1894254)
 * [Advanced Forms for ACF](https://wordpress.org/plugins/advanced-forms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-forms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-forms/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-forms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-forms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-forms/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Phil Kurth](https://wordpress.org/support/users/philkurth/)
 * Last activity: [3 years, 11 months ago](https://wordpress.org/support/topic/form-submitted/#post-15800710)
 * Status: resolved