Workspace - Redirect to different page after clicking save button
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi All,
I have configured some page variants in workspace. like page1, page2, page3. On page2, there a new button which redirects user to page3. In page3 form component is there having save button. After clicking that save button a record is getting saved to table. If there is any error in the data, then record is not getting saved.
So after clicking save button, if record got saved successfully, Want to redirect the user to page2. If record is not saved, then don't want to redirect the user.
Please let me know how can i prevent the redirection in case of record not saved.
Thank you in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
23 hours ago
Hello ,
you can use link to destination event after the button is clicked :
If my response helped mark as helpful and accept the solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hi @yashkamde
Thank you for reverting. I didn't find any event named as link to destination. I believe that the event is renamed to open page or URL. I tried by adding this open page or url handler in form saved event. But it is not working. Even I tried it with form submitted event too. Form submitted event is working in preview and my expected functionality is also working in preview. However, same behaviour is not happening on actual page/URL.
Do you have any idea of the root cause of events not working in actual page but in preview it works fine?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
