Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Export Data on Submit

  • hakbar
  • hakbar's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 11 months ago - 5 years 11 months ago #185514 by hakbar
Export Data on Submit was created by hakbar
Hi, I am new to LimeSurvey and had the following question.


When I submit my answers, I want to call a function that passes the answers of the questionnaire answers.

The submit button is located here.

limesurvey\application\views\survey\system\actionButton


Q1) What file is being ran/opened when I click this submit button.


Q2) How do I access all the answers on submit.


I wish to get the submit button to post data to an external API on every new submission.
Last edit: 5 years 11 months ago by hakbar.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
5 years 11 months ago #185528 by DenisChenu
Replied by DenisChenu on topic Export Data on Submit
Hi,

Best solution : plugin afterSurveyComplete

See sample : github.com/LimeSurvey/LimeSurvey/blob/ma...nse/ShowResponse.php

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The following user(s) said Thank You: hakbar
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose