Welcome to the LimeSurvey Community Forum

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

scoring question (equal sum) – move "equal sum value"

  • KompetenzZ
  • KompetenzZ's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
7 years 2 weeks ago - 7 years 2 weeks ago #149660 by KompetenzZ
Hello,
I have this multiple numerical input question, where respondents should distribute 100 between different criteria. How could I move the "Remaining" and "Total" text to the top of the answer block? See picture.
Increase font size of this element would be also nice :)


Thank you very much in advance.

Cheers kompetenzz
Last edit: 7 years 2 weeks ago by KompetenzZ.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 2 weeks ago - 7 years 2 weeks ago #149683 by tpartner
1) Add this to the question source:
Code:
<script type="text/javascript" charset="utf-8">
  $(document).ready(function(){
    $('#question{QID} .multiplenumerichelp.help-block').each(function(i) {
      $('#question{QID} .answer-item.numeric-item:first').before($(this));
    });
  });
</script>

2) Add this to the end of template.css:
Code:
.help-block {
    font-size: 125%;
    text-align: center;
}


Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 7 years 2 weeks ago by tpartner.
The following user(s) said Thank You: KompetenzZ
The topic has been locked.
  • KompetenzZ
  • KompetenzZ's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
7 years 1 week ago #149687 by KompetenzZ
Thank you very much, it works :)

Cheers kompetenzz
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose