- Posts: 12
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Trigger an action when a survey is completed.
- waveydavey
- Topic Author
- Offline
- New Member
Less
More
2 years 3 months ago #223125
by waveydavey
Trigger an action when a survey is completed. was created by waveydavey
Please help us help you and fill where relevant:
Your LimeSurvey version: Version 3.15.5+181115
Own server or LimeSurvey hosting: Own Server
Theme:
==================
We would like our customer system to be notified when a survey is completed, by making a call to https://ourserver/api/surveyCompleted?survey=&token=
I assume I would need to change the code, which is fine if somebody could point me to the code that handles survey completion.
It would also be useful, but not as urgent, if someone could point me to the code that handles saving a partially completed survey.
I confess I am finding the framework and architecture quite difficult to grasp.
Many thanks in advance,
David
Your LimeSurvey version: Version 3.15.5+181115
Own server or LimeSurvey hosting: Own Server
Theme:
==================
We would like our customer system to be notified when a survey is completed, by making a call to https://ourserver/api/surveyCompleted?survey=
I assume I would need to change the code, which is fine if somebody could point me to the code that handles survey completion.
It would also be useful, but not as urgent, if someone could point me to the code that handles saving a partially completed survey.
I confess I am finding the framework and architecture quite difficult to grasp.
Many thanks in advance,
David
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12881
- Thank you received: 3965
2 years 3 months ago #223130
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Trigger an action when a survey is completed.
1. You may use the end-url.
2. Data of partially completed surveys are stored by default. (Only if the participant explicitly clicks the link to delete his data they are removed)
Joffm
2. Data of partially completed surveys are stored by default. (Only if the participant explicitly clicks the link to delete his data they are removed)
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: DenisChenu
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10099
- Thank you received: 3589
2 years 3 months ago #223132
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Trigger an action when a survey is completed.
You may be able to do it via an AJAX call in the end message. If the API is on a different server, that server would need to support JSONP.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- waveydavey
- Topic Author
- Offline
- New Member
Less
More
- Posts: 12
- Thank you received: 0
2 years 3 months ago #223140
by waveydavey
Replied by waveydavey on topic Trigger an action when a survey is completed.
Thanks, that may be useful.
Sorry about the double post - I think I realised I had started in a low volume area. Apologies.
Sorry about the double post - I think I realised I had started in a low volume area. Apologies.
The topic has been locked.
- waveydavey
- Topic Author
- Offline
- New Member
Less
More
- Posts: 12
- Thank you received: 0
2 years 3 months ago #223141
by waveydavey
Replied by waveydavey on topic Trigger an action when a survey is completed.
Is there any way to force every survey to have the same end-url, to avoid the user having to set it up ?
e.g.
mydomain.com/survey_id=12345&token_id=23456
e.g.
mydomain.com/survey_id=12345&token_id=23456
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13597
- Thank you received: 2487
2 years 3 months ago #223185
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Trigger an action when a survey is completed.
No.
Except with plugin … like always
Except with plugin … like always
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.