This should be pretty straight-forward, but I can't seem to get it to work...
I want to change a button's label based on a condition (specifically, a radio-button choice control).
Here's what I tried adding on the button's label field:
fn-If(Decision Type == 'Meeting', 'Generate Documents with Notice', 'Generate Documents')
But for some reason, the button just renders the function in plain-text as-is!
I also tried adding a calculated field with the following (slightly different) formula, which worked as expected!
If(DecisionType == 'Meeting', 'Generate Documents With Notice', 'Generate Documents')
Before someone asks, I also tried using the "If" function instead of the fn-If, but still no luck