simple form with validation added