Welcome to the LimeSurvey Community Forum

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

Integrate LS to WordPress, auto generate token when user head to survey-url

  • HansPeter
  • HansPeter's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 1 week ago #167398 by HansPeter
While trying to implement LS to WP I'm facing some difficulties. By now i read several threads and other pages as well as the manual.

Goal would be to generate a token each time a WP user clicks the survey Link on a WP-Page and at the end of the survey pass the token to WP.

With another link in WP the participant should be able to head to the survey-URL to edit his answers. So the token should be passed from WP to LS and automatically filled in into the token field.

First struggle is auto generate of the token. Or is there any way to edit the survey without tokens? for example with the surveyID?

Any best practices how to do so?

Draft of the approach
The topic has been locked.
  • LouisGac
  • LouisGac's Avatar
  • Visitor
  • Visitor
6 years 1 week ago #167410 by LouisGac
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 1 week ago #167421 by tpartner
Some links to API documentation:

- manual.limesurvey.org/RemoteControl_2_API
- api.limesurvey.org/classes/remotecontrol_handle.html

(and search the forum for "API")

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose