Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

javascripts to hide the navigation buttons not working.

  • kingmaker
  • kingmaker's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 7 months ago - 9 years 7 months ago #111687 by kingmaker
Hello,

I have the mock survey live at demo.limesurvey.org/index.php?r=survey/index/sid/755819/lang/en

When u end up in the "Not Eligible Page" ... which can be reached by "NOT" selecting Facebook as an option in the screening page.

I have written the Javascript to hide previous and Submit button in the "Not Eligible" page. But they are not working like before for Some reasons.

Can anyone help me with this issue.

The Code which I have written to hide the buttons are something like :
Code:
<script type="text/javascript" charset="utf-8">  
  $(document).ready(function() {
    $("#clearall").hide();
                $("#moveprevbtn").hide();
                $("#movesubmitbtn").hide();
 
  });  
</script>

Thanks in advance,

Kingmaker and Veera
Last edit: 9 years 7 months ago by kingmaker. Reason: Spelling
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 7 months ago #111688 by tpartner
I don't see the script anywhere in the source code of that page. Where did you insert it?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • kingmaker
  • kingmaker's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 7 months ago #111700 by kingmaker
demo.limesurvey.org/index.php?r=survey/index/sid/653814/lang/en


In this survey, in the "Not Eligible" question group, The script can be seen if you click on Source.
The topic has been locked.
  • kingmaker
  • kingmaker's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 7 months ago #111701 by kingmaker
pastebin.com/XmAtFLg3 is the script though.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 7 months ago #111704 by tpartner
I still don't see that script anywhere in the source.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
9 years 7 months ago #111710 by Mazi
I am not sure why but the script from the group description is not embedded at the page's HTML.

Try pasting it into the question directly.

Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.
More
9 years 7 months ago #111803 by Bigred01
Try it in the question help text for that page instead of the group.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose