Adde rudimentary form validation for questionnaires