I'm working with a Composer form and need to update the visibility of the 'function bar'.
At the moment it has the following code for the visibility rule:
But that does not seem valid, as I expect the 'formMode' parameter to be a value, rather than blank string "".
What options are available for the 'formMode'?
The form mode holds the name of the currently showing modal page.
A blank form mode means that no modal pages are currently being shown.
So the visibility rule is currently saying hide the function bar when a modal page is being shown.
thanks for that explanation.
I'll have to explore further why it is set that way, but at least I know what I'm working with now.
I use return (! sfc.isReceipt()).