Question T8699
Visible to All Users

How can I save survey result to my own DataBase?

created 3 years ago

Hi!

Firstly, I would like to thank you for the quick response and secondly the helpful reply.

My question is how can I save the survey answers in my database?
I'm using MongoDB what is my database supposed to be formatted to save (survey answers JSON)?
I use React, Nodejs, MongoDB.

Thank you!

Answers approved by surveyjs Support

created 3 years ago

Hello Raed,
You have to use survey.onComplete event as shown in our documentation. Regarding your case, please google how to store json in mongodb vs nodejs.

Thank you,
Andrew
SurveyJS Team