- Posts: 9
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
document.limesurvey.move.value = 'movenext'; document.limesurvey.submit();
<script> document.limesurvey.move.value = 'movenext'; document.limesurvey.submit(); </script>
<script type='text/javascript'> $(document).ready(function() { /* Hi There */ /* Changing button text */ $("table.navigator-table").hide(); }); </script>
This code is not wrong, it is just used incorrectly. It simply moves to the next survey page so should only be fired when the game is finished and only be used if there are following survey pages (groups).Sth with your code, which you gave me is probably wrong
window.parent.document.limesurvey.move.value = 'movenext'; window.parent.document.limesurvey.submit();
<script> document.limesurvey.move.value = 'movenext'; document.limesurvey.submit(); </script>
<script type="text/javascript" charset="utf-8"> $(document).ready(function(){ document.limesurvey.move.value = 'movenext'; document.limesurvey.submit(); }); </script>
I have imported your survey and it's still not working - but I have saw that its not working only at my server because I have made the same thing at your Stable v2.00+ Demo - and it was working ! The same code from my server !tpartner wrote: Here is a sample survey with a button in a text-display question in the first group that uses that code to advance to the next group.
<script type="text/javascript" charset="utf-8"> $(document).ready(function() { $('#movenextbtn').click(); }); </script>
This code works perfect! Thx a lot !tpartner wrote: Ah, my code is for 2.0. In 2.05, you can use something like this:
Code:<script type="text/javascript" charset="utf-8"> $(document).ready(function() { $('#movenextbtn').click(); }); </script>
Here is a survey you can try in 2.05: