Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: Saving to LS, but submitting to an external site

Saving to LS, but submitting to an external site 4 years 4 months ago #79846

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9346
  • Thank you received: 1338
  • Karma: 386
input.text : short question answer

If it's not a short question answer, it can be textarea
$('#question13732 textarea').val(workerId);
Assistance on LimeSurvey forum and LimeSurvey core developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
The administrator has disabled public write access.

Saving to LS, but submitting to an external site 4 years 4 months ago #79847

  • hrshdhgd
  • hrshdhgd's Avatar
  • Offline
  • Junior Lime
  • Posts: 29
  • Karma: 0
YES!!!!!! it finally worked! Thanks a lot for all your effort! You are the BOSS!!
The administrator has disabled public write access.

Saving to LS, but submitting to an external site 4 years 4 months ago #79849

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9346
  • Thank you received: 1338
  • Karma: 386
You're welcome :-)

If our hints have been helpful and you enjoy limesurvey please consider a donation to give Limesurvey a future .
We do all this in our free time and you don't have to pay a penny for this software.

Without your help we can't keep this project alive.
;)
Assistance on LimeSurvey forum and LimeSurvey core developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
The administrator has disabled public write access.

Saving to LS, but submitting to an external site 3 years 3 months ago #96522

  • gorp
  • gorp's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 6
  • Karma: 0
Hi thank you for a good thread! Im about to attempt extracting the worker id from mechanical turk; however how do I try it out using mechanical turk?

Where in the startpage.pstpl file am I suppose to add the following:
$('#question421 input.text').val(workerId);
$('#question input.text').val(assignmentId);
$('#question13734 input.text').val(hitId);


anywhere?
Any help is much appreciated.
Kind Regards
Oscar
The administrator has disabled public write access.

Saving to LS, but submitting to an external site 3 years 3 months ago #96576

  • gorp
  • gorp's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 6
  • Karma: 0
Hey,
I've not yet managed to implement the suggestions in this thread properly. However, I've tried to use the option to save referral url that limesurvey gives when activating a survey. This manage to save the referal url from e.g., facebook however NOT from mechanical turk.

Does anyone know if the suggestions in this thread will work or if mechanical turk has changed something?

Thanks
Oscar
Last Edit: 3 years 3 months ago by gorp.
The administrator has disabled public write access.
Time to create page: 1.118 seconds
Imprint                   Privacy policy                  Revocation information and revocation form