jetpack icon indicating copy to clipboard operation
jetpack copied to clipboard

Would like to see contact form ajax'ed

Open EvanHerman opened this issue 12 years ago • 9 comments

Most contact forms have an ajax option. It's more of a UX thing, but it's much nicer than having a page reload after submitting a form.

This is especially important when submitting contact forms from within a modal.

EvanHerman avatar Jun 10 '14 03:06 EvanHerman

For now that is not on our development path. Will add to the vFuture timeline for future consideration.

blobaugh avatar Jun 12 '14 18:06 blobaugh

Great, thanks for the update and consideration Ben!

EvanHerman avatar Jun 12 '14 19:06 EvanHerman

Also suggested here: https://wordpress.org/support/topic/contact-form-through-ajax?replies=1&view=all

jeherve avatar May 12 '15 10:05 jeherve

It would really be fantastic to see this make its way in.. If the ajax implementation also allowed for multiple ajax forms on a single page, I (and i'm guessing lots of others using premium contact form plugins) would be able to use jetpack exclusively for contact forms!

kymcarlsson avatar May 02 '16 10:05 kymcarlsson

This can be accomplished just with JS/jQuery. https://gist.github.com/ptasker/7606fac1f75cfa99dc7d25dc178479f4

I posted a quick blog post about it. It's not bulletproof, if anything internal in the Jetpack API changes, but it works for now.

https://petetasker.com/jetpack-contact-forms-submitting-via-ajax/

ptasker avatar May 05 '16 18:05 ptasker

@ptasker 👍🏻 If you're interested in including this feature in Jetpack itself, feel free to submit a patch!

jeherve avatar May 06 '16 09:05 jeherve

@jeherve good point. It would likely be a bit more involved to get this into Jetpack. But when I have a few minutes I'll take a look and see what it would take. It may also help with https://github.com/Automattic/jetpack/issues/254

ptasker avatar May 06 '16 12:05 ptasker

This issue has been marked as stale. This happened because:

  • It has been inactive in the past 6 months.
  • It hasn’t been labeled `[Pri] Blocker`, `[Pri] High`.

No further action is needed. But it's worth checking if this ticket has clear reproduction steps and it is still reproducible. Feel free to close this issue if you think it's not valid anymore — if you do, please add a brief explanation.

stale[bot] avatar Sep 19 '18 05:09 stale[bot]

I'm going to close this for now—not a statement on the usefulness of the idea, but a reflection that it is not on our roadmap as an enhancement.

kraftbj avatar Apr 17 '19 22:04 kraftbj