Can I disable an Option of a Checkbox field just for the Transition
Issue #612
resolved
Is it possble to disable an option of a Checkbox Field for a specific Transition and not global? So far i used the method but it disabled that option of that entire Field.
Comments (3)
-
repo owner -
reporter Ok, thanks for the quick response!
-
repo owner - changed status to resolved
- Log in to comment
Hi Hendrik,
It's not possible to disable an option for a transition, but you can add a validator that ensures that the user doesn't select the option: a custom error message will be shown in case the forbidden option is selected, and the transition execution is blocked until a valid option is selected.
To implement this validation you should use "Boolean validator with math, date-time or text-string terms" with the following boolean expression:
where
As you can see, I have provided a more general solution that supports more than one forbidden option.