Write submit handler for question form.