Welcome, Guest
Username: Password: Remember me

TOPIC: LSRC with LSS / JavaScript in LSS

LSRC with LSS / JavaScript in LSS 3 years 5 months ago #56040

  • bdizzle
  • bdizzle's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 8
  • Thank you received: 1
  • Karma: 0
Greetings,

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!
Bdizzle



EDIT: here is a feature request! ideas.limesurvey.org/ideatorrent/idea/248/
Last Edit: 3 years 5 months ago by bdizzle.
The administrator has disabled public write access.

Re: LSRC with LSS / JavaScript in LSS 3 years 5 months ago #56052

  • bdizzle
  • bdizzle's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 8
  • Thank you received: 1
  • Karma: 0
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".
The administrator has disabled public write access.

Re: LSRC with LSS / JavaScript in LSS 3 years 5 months ago #56067

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5301
  • Thank you received: 291
  • Karma: 247
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)limesurvey.org'"
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.124 seconds
Donation Image