Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Workspace - Redirect to different page after clicking save button

pallavigaik
Tera Expert

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

3 REPLIES 3

yashkamde
Mega Sage

Hello  ,

 

you can use link to destination event after the button is clicked :

Screenshot 2026-04-23 125028.pngScreenshot 2026-04-23 125115.png

 

If my response helped mark as helpful and accept the solution.

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?

@pallavigaik ,

Can you give the page name i mean url path of your page..?

Best Regards,

  • Dinesh