I would like to redirect the user to a different URL if they click on the cancel button.
I used in the below blog examples,
Redirect URL when user clicks Cancel Button
I created Button and the action is java script and entered in the below code on the client click area
Finally it is working for me using in the below code:
window.location.href='http://www.Nintex.com';