Validation inline for the form