Skip Navigation

[Resolved] Normal CRED redirect hook not working for add new relationship in an cred edit

This support ticket is created 6 years, 3 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.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 3 replies, has 2 voices.

Last updated by Minesh 6 years, 3 months ago.

Assisted by: Minesh.

Author
Posts
#1110178

I have a basic cred edit form. I want to put a relationship add on the same page but cannot do so because it is a many to many relationship - see future request https://toolset.com/forums/topic/how-do-we-add-a-many-to-many-selector-in-cred-form/

Putting the relationship form on the page, you hit submit and it takes you back to that post in its template no matter what I choose - whether it be redirect user where they came from or stay on page. And it seems like no matter what I try to return to, I am getting back right back to the page associated with the post and not the edit form. Tried cred success and cred submit hooks and neither seem to be working.

#1110584

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Well - I can see with the reference ticket you shared that Beda has already filed the feature request, as you can see here:
=> https://toolset.com/forums/topic/how-do-we-add-a-many-to-many-selector-in-cred-form/#post-1110202

You can vote the feature request to make it more popular so we can present in front of our Devs so that they can think of and try to add this feature later on.

Currently it's not possible as the feature is not implemented yet.

#1110678

This ticket was for the cred hooks not working as expected. I cannot get any sort of redirect except back to the original post page. Can you help with this? We have probably 20 different custom cred redirects working fine on the site but it is not working for the relationship forms.

#1111448

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Well - Again, as I understand, you are using relationship forms and you want to use redirection hook with post relationship forms - correct? If Yes:
=> The redirection hooks are meant to work with post and user form NOT with relationship forms. We already filed this feature but there is no ETA on it.

If your requirement is that the one which I mentioned above and you are using post or user form and redirection is not working. I would happy to help you further.