Advanced Question Editing

Advanced Question Editing


How to edit the tip for one specific question?

Some types of questions (like numerical questions) come with a default hint/tip


You can customize the tip of a specific question by using the below script

<script type="text/javascript" charset="utf-8"> 
$(document).ready(function(){
                $('#question{QID} .ls-question-message.ls-em-tip.em_default.ls-em-success').html('<i class="fa fa-exclamation-circle" aria-hidden="true"></i> custom tip text');
});
</script>

Question ID needs to be replaced by the specific question ID

How to edit the tip of all group's questions?

You don't need to specify the question ID here, use the below script instead
<script type="text/javascript" charset="utf-8"> 
$(document).ready(function(){
                $('.ls-question-message.ls-em-tip.em_default.ls-em-success').html('<i class="fa fa-exclamation-circle" aria-hidden="true"></i> custom tip text');
});
</script>
    • Related Articles

    • Preview Question

      Preview a question There a two ways to preview a question: (1) from the Question summary page or (2) while editing a question. 1. Preview a question from the question summary page You can access the Question summary page from the (a) Settings tab or ...
    • Question and answer codes

      What codes are Every question, sub-question, and answer option in LimeSurvey has a short identifier — its code: Question codes — one per question, such as Q001. LimeSurvey assigns these automatically; you can rename them. Sub-question codes — one per ...
    • Style a Question

      Styling questions with CSS Styling of questions using CSS has become much easier. Each question type now has a unique class. The mandatory questions have an additional mandatory class.  Please refer to the Styling a question with CSS section for ...
    • Working with question groups

      Every question in a survey belongs to a question group. Groups keep related questions together — and because LimeSurvey presents a survey one group at a time by default, each group is one page for participants. Every new survey starts with a default ...
    • Add and Edit a Question

      Questions are the heart of your survey. In the survey editor, questions sit inside question groups on the canvas — the large working area in the middle of the screen. Every new survey starts with a sample group and question, so you can begin right ...