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

TOPIC: Submit question group from frame

Submit question group from frame 3 years 8 months ago #88188

  • tomscher
  • tomscher's Avatar
  • Offline
  • Junior Lime
  • Posts: 34
  • Thank you received: 7
  • Karma: 2
Hi all,

I was wondering: I have a frame embedded in my survey in order to trace information search (the frame is necessary as far as I know - so ). In this frame there is one button and I would like to do the following: If a participant clicks this button, then s/he should get to the next questiongroup in limesurvey.

The easiest way would probably be to just submit the question group in limesurvey (parent frame). I think I should be able to do this, if I use the next button. However, I do not find a working solution. Probably it's pretty simple, but I am totally stuck. Any recommendations are welcome.
The administrator has disabled public write access.

Submit question group from frame 3 years 8 months ago #88311

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6111
  • Thank you received: 1356
  • Karma: 532
This is untested but try adding the following onclick attribute to your button:
onclick="javascript:parent.document.limesurvey.move.value = 'movenext'; parent.document.limesurvey.submit();"
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The administrator has disabled public write access.
The following user(s) said Thank You: DenisChenu

Submit question group from frame 3 years 8 months ago #88315

  • tomscher
  • tomscher's Avatar
  • Offline
  • Junior Lime
  • Posts: 34
  • Thank you received: 7
  • Karma: 2
Great - it works just fine.

Thank you very much.
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.340 seconds
Imprint                   Data Protection Statement                  Revocation information and revocation form