#8 implement form input and form validator