Check out the LimeSurvey source code on GitHub!

LSRC with LSS / JavaScript in LSS

6 years 2 weeks ago - 6 years 2 weeks ago #56040 by bdizzle

I have 2 questions:
1) I have implemented a workaround based on this randomization in JavaScript. In my exported LSS file, I have some JavaScript code such as
var hiddenInput = '#answer85581X119X2295';
. To make this generic, how can I use the <![CDATA[85581]]> information so that the survey, group, and question IDs are not hardcoded?

2) How hard, how long would it be for the LimeSurvey team to support LSS import in the remote control access in v1.90+? I am willing to give money to the LS team for this feature. This could open the door for more automated survey creation. Elameno has indicated that I should use v1.86 for a stable LSRC version, but I would really like to use the LSS format supported by v1.90+.

Many thanks!

EDIT: here is a feature request!
Last Edit: 6 years 2 weeks ago by bdizzle.

Please Log in to join the conversation.

6 years 2 weeks ago #56052 by bdizzle
Avoiding LSRC, is it possible to somehow call XMLImportSurvey from my own PHP file in remotecontrol? I'm getting confused by the logic resulting in "Cannot run this script directly".

Please Log in to join the conversation.

6 years 2 weeks ago #56067 by Mazi
Replacing IDs of customized Javascript at import won't be possible. This feature exists for conditions and INSERTANS placeholders but not for javascript elements.
I think this may be coded but I doubt that this is an easy task.

Please get in contact with "elameno" about the paid development, he is the developer who currently takes care of LSRC and is the person to talk to. To my knowledge he offers this kind of advanced (paid) support.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)'"

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form