LimeSurvey Integration

More
3 years 4 months ago #103104 by dellys
dellys created the topic: LimeSurvey Integration
Hi,
I want to update another table when the user complete his survey , I did some search in lime survey and I have found this page
limesurvey\application\controllers\admin\dataentry.php
in this method insert I have added my one code to update my external table, but it does not work! nothing happen !! may be it is not the right page!? can you tell me the right page please?
Thanks

Please Log in to join the conversation.

More
3 years 4 months ago #103107 by DenisChenu
DenisChenu replied the topic: LimeSurvey Integration
Hi,

No : it's only for admin data entry.

Best is to use
- with 2.05 : Plugin with afterSurveyComplete manual.limesurvey.org/Plugin_events
- With 2.00 or less : $.ajax

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
3 years 4 months ago #103130 by dellys
dellys replied the topic: LimeSurvey Integration
Hi,
I'm using Version 2.00+ Build 131206 !, can you please tell me where can I find ajax file in which I can add my code to update my table?
Thanks

Please Log in to join the conversation.

More
3 years 4 months ago #103131 by DenisChenu
DenisChenu replied the topic: LimeSurvey Integration
No file.

JS+PHP dev : api.jquery.com/jquery.ajax/

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
3 years 4 months ago #103136 by dellys
dellys replied the topic: LimeSurvey Integration
What I want to know is how can I use the function that update a survey when user click on "send" at the end of the survey ,as I have seen for each survey there is a table called `lime_tokens_XXXXXX` there is a field called "completed" it is "N "by default and when the user complete the survey this filed is updated with the date, so I want to know in which class or function or page this update is done ?

Please Log in to join the conversation.

More
3 years 4 months ago - 3 years 4 months ago #103137 by dellys
dellys replied the topic: LimeSurvey Integration
here is an example ,when the user click on send ("Envoyer" in french)
what fucntion is called?

Last Edit: 3 years 4 months ago by dellys.

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now