implementing requiredIf flags. validation stops on first FatalError