Skip Navigation

[Resolved] Ajax refresh associated view on ajax cred form success

This support ticket is created 3 years, 10 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 1 reply, has 2 voices.

Last updated by Luo Yang 3 years, 10 months ago.

Assisted by: Luo Yang.

Author
Posts
#1909471

Tell us what you are trying to do?
Ajax refresh associated view on ajax cred form success

Is there a similar example that we can see?
The concept is similar to how a custom search works when automatic ajax updates on form submission is enabled, except I want it to work with a cred form and an associated view of its posts. When the user submits the form, the post is created via ajax, then the view (with the loop) is updated also via ajax to reflect the newly created content.

What is the link to your site?
This is a private site, so I can create an account if needed.

#1910213

Hello,

You can try these:
1) Edit the post form, enable below options:
- Submit this form without reloading the page (use AJAX)
- After visitors submit this form: Keep displaying this form

2) In form content, add a "HTML content" block, and display the view's shortcode, for example:
[wpv-view name="my-view-slug" cached="off"]