TODO: validation for dynamicCustomValidation types while entering