Welcome, Guest
Username: Password: Remember me

TOPIC: LimeSurvey Integration

LimeSurvey Integration 8 months 1 week ago #103104

  • dellys
  • dellys's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 4
  • Karma: 0
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
The administrator has disabled public write access.

LimeSurvey Integration 8 months 1 week ago #103107

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6318
  • Thank you received: 810
  • Karma: 242
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
The administrator has disabled public write access.

LimeSurvey Integration 8 months 1 week ago #103130

  • dellys
  • dellys's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 4
  • Karma: 0
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
The administrator has disabled public write access.

LimeSurvey Integration 8 months 1 week ago #103131

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6318
  • Thank you received: 810
  • Karma: 242
No file.

JS+PHP dev : api.jquery.com/jquery.ajax/
The administrator has disabled public write access.

LimeSurvey Integration 8 months 1 week ago #103136

  • dellys
  • dellys's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 4
  • Karma: 0
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 ?
The administrator has disabled public write access.

LimeSurvey Integration 8 months 1 week ago #103137

  • dellys
  • dellys's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 4
  • Karma: 0
here is an example ,when the user click on send ("Envoyer" in french)
what fucntion is called?

Last Edit: 8 months 1 week ago by dellys.
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.100 seconds
Donation Image