Hello team. Good vibrations!
I have a relationship form inside a view, with ajax submission activated.
When user click submit (to create relationship) the page reload.
I need to keep the page, without reload.
In relationship form options we have:
- Go to specific page
- Reload the current page
- Redirect back...
All options reload the page.
How can I keep the user on the same page?
Thanks!
Wow! I forgot.
We need the don't reload the page and "Display a message instead of the form" like post forms.
Hi, unfortunately all Relationship Form submissions will eventually reload the page, even if AJAX is enabled, as explained here: https://toolset.com/errata/relationships-forms-in-a-views-loop-redirect-to-the-current-post-in-the-loop-when-submitted-with-ajax-and-stay-on-the-same-page-is-used/
Since the option to "Display a message instead of the form" does not exist, and we have not yet implemented a true AJAX solution that does not reload the same page, I can ask my 2nd tier support team if we can submit a feature request for improving the experience of relationship forms to include these features. I'll submit that and let you know what I find out.
We've submitted this request to our developers, who will add it to their improvements queue. Based on current schedules and priorities, I don't suspect this will be added within the next two development cycles, but beyond that I'm not able to predict delivery timeframes. If I get more information about that, I'll update the ticket here. For now, I think we can close out the ticket and stand by for a developer update on this new feature. Thanks for the report!