Skip Navigation

[Resolved] relationship form redirects no matter the setting

This support ticket is created 4 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.

This topic contains 2 replies, has 2 voices.

Last updated by ScottM9386 4 years, 9 months ago.

Author
Posts
#1525921

Hello,

I'm using a relationship form in a modal window...not sure if that matters.
Even though I have it set to Ajax (and even when I don't) and "stay on same page" after submit it always redirects to the posts page.
Any ideas?
Thanks!

#1526855

You can change the form's redirect to staying on the same page, or redirect back where you (or the user) came from, or redirect to a specific page/post

If you do not specify a post to redirect to, it has no post to redirect to and hence it is unlikely that after submitting a Relationship form it would redirect to any post, if not specified in the form.

Locally when I test, it works just fine (with AJAX and remaining on the page).
Maybe you need to re-save that form?

Or try to take it out of the Modal?

If the issue then persists we need to know the steps you take to make the issue happens. Can you provide these, or a copy of the site, indicating where the problem is?
https://toolset.com/faq/provide-supporters-copy-site/

#1541187

Hi,

re-saving did nothing..
I may need to figure out another solution for an "add to favorites" type set-up with toolset.
thanks.