How to use Expression Manager in Javascript?

More
1 year 1 month ago - 1 year 1 month ago #164041 by AndyKingston
Hi!

I am developing a mobile application to communicate with the LimeSurvey API. I am using PhoneGap platform which uses Javascript.

I would like to know how I can implement Question conditions and branching using Expression Manager in Javascript? ie. Question 2 will display based on answer from Question 1.

If you require more info, please ask me.

Please help. Thanks.
Last edit: 1 year 1 month ago by AndyKingston.

Please Log in or Create an account to join the conversation.

LimeSurvey Partners
More
1 year 1 month ago #164235 by orvil
You will find a good description here: manual.limesurvey.org/Expression_Manager
Or did you meant something else?

Best regards/Beste Grüße,
O. Villani

Please Log in or Create an account to join the conversation.

More
1 year 1 month ago #164312 by AndyKingston
Hi Orvil,

Thank you for your answer.

But I am developing it on Phonegap, using LimeSurvey API. I get the questions from the API and display it on the Phonegap app.

How can I use Expression Manager in Phonegap(which uses Javascript) to do branching?

Please advise. Thanks.

Please Log in or Create an account to join the conversation.

More
1 year 1 month ago #164570 by orvil
As far as I know one has to use the API functions from php, R, Phyton, NodeJS etc. But sorry I don't know a way to use JS to call the EM externally.

Best regards/Beste Grüße,
O. Villani
The following user(s) said Thank You: DenisChenu

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!