Question T3520
Visible to All Users

How do I view the answer has been submitted to the survey?

created 5 years ago (modified 5 years ago)

[Ticket cloned from T3510: Is it possible to set a time to a page? ]

Hello! How do I view the answer has been submitted to the survey

On 2/28/2020 2:42 PM, Support Support wrote:

Answers approved by surveyjs Support

created 5 years ago

Hello,

You can use the following code:

JavaScript
survey .onComplete .add(function (result) { document .querySelector('#surveyResult') .textContent = "Result JSON:\n" + JSON.stringify(result.data, null, 3); });

As in our live example - https://surveyjs.io/Examples/Library?id=questiontype-text&platform=jQuery&theme=modern#content-js

Thanks, Serge
SurveyJS Team

    Comments (2)

      how to do  get pdf with answer and question?

      On 3/2/2020 9:29 AM, Support Support wrote:

        Hello,

        I've created a separate ticket on your behalf (T3532: How to get a PDF document with answers and questions?). It has been placed in our processing queue and will be answered shortly.

        Thanks, Serge
        SurveyJS Team