Support

Account

Home Forums General Issues Create post from front end with no reload of page

Solving

Create post from front end with no reload of page

  • I’ve been looking for a way to achieve front end form post creation and on submit the page does not reload.

    I have found lots of examples using ajax but none of these seem to work anymore.

    Does anybody know of a simple way to achieve this?

  • As far as I know, the ACF frontend form doesn’t reload the page. You can opt to redirect on submission

    Or you could look to use something like Gravity Forms, you can opt to create a post based on the form (you need the developer licence), plus handles a lot of the work for you. I know for certain the page doesn’t reload, unless you want it to. I used this for several sites and works well!

  • @jarvis the page definitely does reload when you submit a front end form and you’re correct you can set the return value, but if I set the return value to the same page it will still reload the page regardless.

    I would rather a solution that does not use a plugin.

  • You would need to look into submitting the form using AJAX. I have never done this. There is a long conversation here. A search on using ajax to submit acf_form turns up a lot of other results, that’s were I’d start. Sorry I can’t be of more help.

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

You must be logged in to reply to this topic.