How are the answers stored after posting a form for a question group?

More
2 years 8 months ago #110401 by ralovera
I would like to know where in the code are the answers being saved into the database.

Please Log in to join the conversation.

More
2 years 8 months ago #110416 by DenisChenu
Hi,

Prefix_answers

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).

Please Log in to join the conversation.

More
2 years 8 months ago - 2 years 8 months ago #110420 by ralovera
Hi,

Do you mean {table prefix}_answers? I meant to ask what function is called to save the answers and what file and line is it at?

I checked out the SurveyController and the index action to see what it does with the information about the submitted form but I can't see what part in the code actually saves the answers.
Last Edit: 2 years 8 months ago by ralovera.

Please Log in to join the conversation.

More
2 years 8 months ago #110431 by DenisChenu
It's in em_manager_helper.php :
private function _UpdateValuesInDatabase

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).

Please Log in to join the conversation.