- Posts: 73
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Assessment Rule - Layout issue
- arunicbe
- Topic Author
- Offline
- Senior Member
Less
More
8 years 11 months ago #120970
by arunicbe
Assessment Rule - Layout issue was created by arunicbe
I have created a assessment survey. I have a total assessment rule with formatted message.
I understand that the system automatically wraps the message with a table component when the assessment is completed.
I would like to remove the default formatting.
Please check the attached screenshot. My code is in rectangular box. LimeSurvey wraps this inside the
table. This disturbs the formatting done by me.
I understand that the system automatically wraps the message with a table component when the assessment is completed.
I would like to remove the default formatting.
Please check the attached screenshot. My code is in rectangular box. LimeSurvey wraps this inside the
table. This disturbs the formatting done by me.
Attachments:
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10115
- Thank you received: 3597
8 years 11 months ago #120983
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Assessment Rule - Layout issue
You can use jQuery to remove your elements from the assessments table. Something like this in template.js:
Code:
$(document).ready(function() { if($('table.assessments div.row').length > 0) { $('table.assessments').before($('table.assessments div.row')); } });
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- arunicbe
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 73
- Thank you received: 0
8 years 11 months ago #121031
by arunicbe
Replied by arunicbe on topic Assessment Rule - Layout issue
Thanks. It works. But, it disturbs other html markings.
It would be great if Ican get rid of the default html markings. Let me know where this markings are generated.
It would be great if Ican get rid of the default html markings. Let me know where this markings are generated.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10115
- Thank you received: 3597
8 years 11 months ago - 8 years 11 months ago #121052
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Assessment Rule - Layout issue
Sorry but without access to the source code (not in an image), that's the best example I can give.But, it disturbs other html markings.
I would not mess with the core code - changes will be over-written on updating.Let me know where this markings are generated
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 8 years 11 months ago by tpartner.
The topic has been locked.