On a form, is it possible to hide the Cancel button, or if not, control the view the user goes to when Cancel is selected? Thank you.
If you put an expression like below in Cancel button’s expression option under UX - > Localize
IF(CONTEXT(“View”)=“Table OR Slice Name_Form”, “”,“Cancel”)
The cancel button gets hidden ( or to be precise becomes blank) for that particular form view.
Here, in the
“Table OR Slice Name_Form” is the name of system form view for the table or slice where you wish to hide the cancel button.
However, on impact of hiding “Cancel” button, the community colleagues may have their insights to share.
@Suvrutt_Gurjar Thanks so much for your perfect solution - it would never have occurred to me to use the localize option! For future readers of this post, I made a small change in the expression to:
IF( CONTEXT(“View”)=“MyViewName”, “”,“Cancel” )