Skip to content

Add option to hide and reset form on submit  #17

Description

@buzztone

“on_sent_ok” and its sibling setting “on_submit” are deprecated and about to be removed in the next version of Contact Form 7- v5.0 - see https://contactform7.com/2017/06/07/on-sent-ok-is-deprecated/

2018-01-10_01

contact-form-7-extras could be extended to cover following items done previously using on_sent_ok:

CF7 author recommends using https://contactform7.com/dom-events/ to replace on_sent_ok.

As CF7 has over 6 million active installs, I expect there are several 100,000 sites using on_sent_ok. That is potentially a lot of people how are going to have partly broken CF7 forms when Contact Form 7 v5.0 is released around the end of Jan 2018.

contact-form-7-extras already provides an alternative to using on_sent_ok for following common uses:

It might make sense to extend support to these other on_sent_ok uses.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions