a!radioButtonField( label: "Status",choiceLabels:{"APPROVE","REJECT","RETURN"}, choiceValues: :{"APPROVE","REJECT","RETURN"} ),
a!paragraphField( showwhen(...)
)
*if user selects Reject or Return, then only show the Paragraph field.
Discussion posts and replies are publicly visible
hi, I think this will help you. Create two rule inputs as value and paravalue.
{ a!radioButtonField( label: "Status", labelPosition: "ABOVE", choiceLabels: {"APPROVE","REJECT","RETURN"}, choiceValues: {"APPROVE","REJECT","RETURN"}, value: ri!value, saveInto: {ri!value}, choiceLayout: "STACKED", validations: {} ), a!paragraphField( label: "Paragraph", labelPosition: "ABOVE", value: ri!paravalue, saveInto: {ri!paravalue}, refreshAfter: "UNFOCUS", height: "MEDIUM", validations: {}, showWhen: or(ri!value="REJECT",ri!value="RETURN") ) }
Thanks.