How to use Expression Manager in Javascript?

More
9 months 3 weeks ago - 9 months 3 weeks ago #164041 by AndyKingston
AndyKingston created the topic: How to use Expression Manager in Javascript?
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: 9 months 3 weeks ago by AndyKingston.

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

More
9 months 3 weeks ago #164235 by orvil
orvil replied the topic: How to use Expression Manager in Javascript?
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
9 months 2 weeks ago #164312 by AndyKingston
AndyKingston replied the topic: How to use Expression Manager in Javascript?
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
9 months 2 weeks ago #164570 by orvil
orvil replied the topic: How to use Expression Manager in Javascript?
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!