inject validations to inputs