We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

Cancel button on Record producer

sidarth
Giga Expert

There is a Cancel button on record producer which appears if we select the "Can cancel" checkbox.

I want the user to be redirected to a certain link when the "Cancel" button has been clicked. So far I have been unable to find from where the code of the cancel button is coming.

Do help me out.

1 ACCEPTED SOLUTION

Yes, window.open with "_parent" option is redirecting to another page.



cancel_button.setAttribute("onclick","window.open('https://www.google.com','_parent');return false;");


View solution in original post

17 REPLIES 17

zica
Giga Guru

Hello,



The code of the button should come from the UI Action, please take a look UI Action >> Cancel button


Hi Zic,



I have already checked the UI Actions. The code is not coming from them. You can check it too.


It is Macro i guess


I thought so but I am not able to get the particular macro