Welcome, Guest
Username: Password: Remember me

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

How are the answers stored after posting a form for a question group? 1 month 2 days ago #110401

  • ralovera
  • ralovera's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 4
  • Karma: 0
I would like to know where in the code are the answers being saved into the database.
The administrator has disabled public write access.

How are the answers stored after posting a form for a question group? 1 month 1 day ago #110416

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6219
  • Thank you received: 791
  • Karma: 238
Hi,

Prefix_answers
The administrator has disabled public write access.

How are the answers stored after posting a form for a question group? 1 month 1 day ago #110420

  • ralovera
  • ralovera's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 4
  • Karma: 0
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: 1 month 1 day ago by ralovera.
The administrator has disabled public write access.

How are the answers stored after posting a form for a question group? 1 month 1 day ago #110431

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6219
  • Thank you received: 791
  • Karma: 238
It's in em_manager_helper.php :
private function _UpdateValuesInDatabase
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.163 seconds
Donation Image