How to validate configurable list using conditional logic?