Update the SurveyForm class to use inline validation rules for presence.