Hi team, I been pondering and I would like to disable only the "direct approve" option upon conditions met. Is that possible?
a!localVariables( local!choiceLabels: { approve, reject, direct approve, direct reject }, a!radioButtonField( label: "This application is recommended for", labelPosition: "ABOVE", choiceLabels: local!choiceLabels, choiceValues: local!choiceValues, value: ri!recommendedFor, saveInto: {}, disabled: since it allowed only true()/false()? )
Discussion posts and replies are publicly visible
Not really. Either you disable all the options or keep all of them enabled. A workaround is to create multiple radioButtonFields for each option and then control their disabled state individually.
For other users: Another good alternative is to also hide so dont have to hardcode the same saveInto values multiple times. Thanks for your answer!