Welcome to the LimeSurvey Community Forum

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

How to hide the exclamation mark of a hidden tip

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
3 years 3 weeks ago #223577 by DenisChenu
Replied by DenisChenu on topic How to hide the exclamation mark of a hidden tip
Related ,
There are a script for dynamic tip, to hide it if empty (and show it if not) dinamically.

gitlab.com/SondagesPro/SurveyThemes/skel...s/skelvanilla.js#L80
Code:
        $(".em_sq_fn_validation, .em_q_fn_validation").on("html:updated", function() {
            if($.trim($(this).text())) {
                $(this).removeClass("hidden");
            } else {
                $(this).addClass("hidden");
            }
        });

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The following user(s) said Thank You: tpartner
The topic has been locked.
Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose