added validator to form, cannot submit without entering values into fields. submitted values appear on subsequent page