- Posts: 34
- Karma: 2
- Thank you received: 7
Submit question group from frame
5 years 5 months ago #88188
by tomscher
tomscher created the topic: Submit question group from frame
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.
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.
Please Log in or Create an account to join the conversation.
5 years 5 months ago #88311
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
tpartner replied the topic: Submit question group from frame
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 following user(s) said Thank You: DenisChenu
Please Log in or Create an account to join the conversation.
5 years 5 months ago #88315
by tomscher
tomscher replied the topic: Submit question group from frame
Great - it works just fine.
Thank you very much.
Thank you very much.
Please Log in or Create an account to join the conversation.