- Posts: 41
- Thank you received: 1
Access answer by question code in PHP or js
1 week 4 days ago #212268
by sodiumchl
Access answer by question code in PHP or js was created by sodiumchl
I have an equation question with question code Equation1. I can access it in other questions using {Equestion}. How can I access it in plugin php similarly (I mean without knowing $qid)?
Is it possible to access it directly in javascript too via the question code?
Is it possible to access it directly in javascript too via the question code?
Please Log in to join the conversation.
- DenisChenu
-
- Offline
- LimeSurvey Community Team
-
Less
More
- Posts: 14226
- Thank you received: 2514
1 week 3 days ago #212281
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development . I don't answer to private message.
Replied by DenisChenu on topic Access answer by question code in PHP or js
I don't understand your need here …
gitlab.com/SondagesPro/coreAndTools/getQuestionInformation
or
via ExpressionManager
gitlab.com/SondagesPro/ExportAndStats/pd.../pdfReport.php#L1041
gitlab.com/SondagesPro/coreAndTools/getQuestionInformation
or
via ExpressionManager
gitlab.com/SondagesPro/ExportAndStats/pd.../pdfReport.php#L1041
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development . I don't answer to private message.
Please Log in to join the conversation.
1 week 3 days ago #212290
by sodiumchl
Replied by sodiumchl on topic Access answer by question code in PHP or js
I found an answer for javascript here:
forums.limesurvey.org/forum/can-i-do-thi...stions-in-javascript
I was also looking for how to do this in php for plugins. I'll try
LimeExpressionManager::ProcessStepString($string, $replacementFields ,3 , true );
Thanks a lot!
forums.limesurvey.org/forum/can-i-do-thi...stions-in-javascript
I was also looking for how to do this in php for plugins. I'll try
LimeExpressionManager::ProcessStepString($string, $replacementFields ,3 , true );
Thanks a lot!
Please Log in to join the conversation.