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

More
3 years 4 months ago #110401 by ralovera
ralovera created the topic: How are the answers stored after posting a form for a question group?
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
3 years 4 months ago #110416 by DenisChenu
DenisChenu replied the topic: How are the answers stored after posting a form for a question group?
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).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
3 years 4 months ago - 3 years 4 months ago #110420 by ralovera
ralovera replied the topic: How are the answers stored after posting a form for a question group?
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: 3 years 4 months ago by ralovera.

Please Log in to join the conversation.

More
3 years 4 months ago #110431 by DenisChenu
DenisChenu replied the topic: How are the answers stored after posting a form for a question group?
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).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!