support for validation, error display and scroll to first error