Add client-side validation for the question field. (#475)