Check out the LimeSurvey source code on GitHub!

LimeSurvey Integration

More
3 years 2 weeks ago #103104 by dellys
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 2 weeks ago #103107 by DenisChenu
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).

Please Log in to join the conversation.

More
3 years 1 week ago #103130 by dellys
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 1 week ago #103131 by DenisChenu
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).

Please Log in to join the conversation.

More
3 years 1 week ago #103136 by dellys
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 1 week ago - 3 years 1 week ago #103137 by dellys
here is an example ,when the user click on send ("Envoyer" in french)
what fucntion is called?

Last Edit: 3 years 1 week ago by dellys.

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form