I am trying to check for the custom field "Create sub-tasks" which is a radio button and has the following value - None, Yes, No. I want to add a validator to check if the value is either Yes or No. However, when I have placed the validator, it shows me some errors.
Here is my custom field - Create sub-tasks.

Here are the errors I get.

