equal
deleted
inserted
replaced
605 survey_form.getFields(post_dict=request.POST) |
605 survey_form.getFields(post_dict=request.POST) |
606 |
606 |
607 if not survey_form.is_valid(): |
607 if not survey_form.is_valid(): |
608 # redirect to takeGet so we can handle errors |
608 # redirect to takeGet so we can handle errors |
609 return self.takeGet(request, template, context, params, entity, record, |
609 return self.takeGet(request, template, context, params, entity, record, |
610 form_data=properties) |
610 form_data=request.POST) |
611 |
611 |
612 # retrieve the data from the form |
612 # retrieve the data from the form |
613 _, properties = forms_helper.collectCleanedFields(survey_form) |
613 _, properties = forms_helper.collectCleanedFields(survey_form) |
614 |
614 |
615 # add the required SurveyRecord properties |
615 # add the required SurveyRecord properties |