Run validation funcs according to type