- Posts: 272
- Thank you received: 45
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Hide summary from answerstable
- gabrieljenik
- Offline
- Official LimeSurvey Partner
Less
More
8 years 9 months ago - 8 years 9 months ago #121363
by gabrieljenik
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Checkout our Reporting Solutions and our plugin shop at www.encuesta.biz .
Replied by gabrieljenik on topic Hide summary from answerstable
This should find the Row with Overview, remove subsequent rows and finally remove the Overview row.
Please put the following code in the printanswers.pstpl
<script type="text/javascript">
$(document).ready(function(){
$overview_row = $( "tr.printanswersgroup td:contains('Overview')" ).parentNode();
$overview_row.nextAll("tr.printanswersquestion").remove();
$overview_row..remove();
});
</script>
Please put the following code in the printanswers.pstpl
<script type="text/javascript">
$(document).ready(function(){
$overview_row = $( "tr.printanswersgroup td:contains('Overview')" ).parentNode();
$overview_row.nextAll("tr.printanswersquestion").remove();
$overview_row..remove();
});
</script>
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Checkout our Reporting Solutions and our plugin shop at www.encuesta.biz .
Last edit: 8 years 9 months ago by gabrieljenik. Reason: Edited JQuery script
The topic has been locked.
- djarnold01
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 41
- Thank you received: 0
8 years 9 months ago #121364
by djarnold01
Replied by djarnold01 on topic Hide summary from answerstable
I tried this code but, this message appear after save
Bad Request
The CSRF token could not be verified.
and the code isn't saved
Bad Request
The CSRF token could not be verified.
and the code isn't saved
The topic has been locked.
- gabrieljenik
- Offline
- Official LimeSurvey Partner
Less
More
- Posts: 272
- Thank you received: 45
8 years 9 months ago #121365
by gabrieljenik
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Checkout our Reporting Solutions and our plugin shop at www.encuesta.biz .
Replied by gabrieljenik on topic Hide summary from answerstable
I am sorry I didn't mention it.. you have to use the template editor to add the code.
Where did you added?
Where did you added?
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Checkout our Reporting Solutions and our plugin shop at www.encuesta.biz .
The topic has been locked.
- djarnold01
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 41
- Thank you received: 0
8 years 9 months ago - 8 years 9 months ago #121366
by djarnold01
Replied by djarnold01 on topic Hide summary from answerstable
In the template editor, print answers table and printanswers.pstpl after {ANSWERSTABLE}
the error appears when I try to save the pstpl file
the error appears when I try to save the pstpl file
Last edit: 8 years 9 months ago by djarnold01.
The topic has been locked.
- gabrieljenik
- Offline
- Official LimeSurvey Partner
Less
More
- Posts: 272
- Thank you received: 45
8 years 9 months ago #121367
by gabrieljenik
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Checkout our Reporting Solutions and our plugin shop at www.encuesta.biz .
Replied by gabrieljenik on topic Hide summary from answerstable
OK, the JQuery lib is not present for PrintPage.
Try this:
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
var $overview_row = $( "tr.printanswersgroup td:contains('Overview')" ).parent();
$overview_row.nextAll("tr.printanswersquestion").remove();
$overview_row.nextAll("tr.printanswersgroup").remove();
$overview_row.remove();
});
</script>
Try this:
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
var $overview_row = $( "tr.printanswersgroup td:contains('Overview')" ).parent();
$overview_row.nextAll("tr.printanswersquestion").remove();
$overview_row.nextAll("tr.printanswersgroup").remove();
$overview_row.remove();
});
</script>
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Checkout our Reporting Solutions and our plugin shop at www.encuesta.biz .
The topic has been locked.
- djarnold01
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 41
- Thank you received: 0
8 years 9 months ago #121368
by djarnold01
Replied by djarnold01 on topic Hide summary from answerstable
sorry!!!
same error with this code
same error with this code
The topic has been locked.
- djarnold01
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 41
- Thank you received: 0
8 years 9 months ago #121369
by djarnold01
Replied by djarnold01 on topic Hide summary from answerstable
Is like a ping timeout trying save this code
The topic has been locked.
- gabrieljenik
- Offline
- Official LimeSurvey Partner
Less
More
- Posts: 272
- Thank you received: 45
8 years 9 months ago #121385
by gabrieljenik
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Checkout our Reporting Solutions and our plugin shop at www.encuesta.biz .
Replied by gabrieljenik on topic Hide summary from answerstable
Strange, it works good on my end... can you provide a screenshot of the error?
Maybe we can go skype and share screens on monday?
Maybe we can go skype and share screens on monday?
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Checkout our Reporting Solutions and our plugin shop at www.encuesta.biz .
The topic has been locked.
- djarnold01
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 41
- Thank you received: 0
8 years 9 months ago #121425
by djarnold01
Replied by djarnold01 on topic Hide summary from answerstable
Could it be a problem that my virtual server does not have internet access?
Send me a private message with your skype user to add you as soon as possible
Send me a private message with your skype user to add you as soon as possible
The topic has been locked.
- gabrieljenik
- Offline
- Official LimeSurvey Partner
Less
More
- Posts: 272
- Thank you received: 45
8 years 9 months ago #121426
by gabrieljenik
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Checkout our Reporting Solutions and our plugin shop at www.encuesta.biz .
Replied by gabrieljenik on topic Hide summary from answerstable
Internet Access! Yes, in the script I grab the latest JQuery Lib from a CDN.
I will write some new code for you to grab it from the FS.
Cheers
I will write some new code for you to grab it from the FS.
Cheers
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Checkout our Reporting Solutions and our plugin shop at www.encuesta.biz .
The following user(s) said Thank You: djarnold01
The topic has been locked.
- gabrieljenik
- Offline
- Official LimeSurvey Partner
Less
More
- Posts: 272
- Thank you received: 45
8 years 9 months ago #121427
by gabrieljenik
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Checkout our Reporting Solutions and our plugin shop at www.encuesta.biz .
Replied by gabrieljenik on topic Hide summary from answerstable
Sorry, I just re-read the message.
You are having the error when updating the template...
There must be something else..
You are having the error when updating the template...
There must be something else..
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Checkout our Reporting Solutions and our plugin shop at www.encuesta.biz .
The topic has been locked.
- djarnold01
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 41
- Thank you received: 0
8 years 9 months ago #121428
by djarnold01
Replied by djarnold01 on topic Hide summary from answerstable
Yes, I put the code in the pstpl, click save and nothing happens
I need to reload the page but the changes is not reflected.
I need to reload the page but the changes is not reflected.
The topic has been locked.