form view with validation