The after-form-submit event is fired after the submission of a sign-up block form. This is one of the various events WisePops can trigger as part of our JS Callbacks feature.

Prevent action after submission

The action after the form submission can be prevented, by calling preventDefault() on the event:

wisepops('listen', 'after-form-submit', function(event) {

Preventing this event will only cancel the final action (load new page, scroll to anchor, close popup). The filled data will still be collected. 

Please refer to the before-form-submit event to prevent the whole form submission.

Event target

The targeted element ( is the same element as the native submit event target.

Use cases

Coming soon.

Did this answer your question?