Welcome, Guest
Username: Password: Remember me

TOPIC: Submit question group from frame

Submit question group from frame 1 year 8 months ago #88188

  • tomscher
  • tomscher's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 22
  • Thank you received: 5
  • 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.

Re: Submit question group from frame 1 year 8 months ago #88311

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4071
  • Thank you received: 748
  • Karma: 341
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.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.
The following user(s) said Thank You: DenisChenu

Re: Submit question group from frame 1 year 8 months ago #88315

  • tomscher
  • tomscher's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 22
  • Thank you received: 5
  • 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.112 seconds
Donation Image