- Posts: 36
- Thank you received: 1
Ask the community, share ideas, and connect with other LimeSurvey users!
Please Log in to join the conversation.
Please Log in to join the conversation.
Where do I write {if(MyValidation,"","You have an error")}?Hi,
{if(MyValidation,"","You have an error")}
Please Log in to join the conversation.
I added {if(MyValidation,"","You have an error")} to the TIP and the problem was solved.
Where do I write {if(MyValidation,"","You have an error")}?Hi,
{if(MyValidation,"","You have an error")}
Also, should I assign a validation formula like "!is_empty(G17Q12)" to "MyValidation"?
Please Log in to join the conversation.
Sorry, i'm unclear about where to put it . You get it it was in tip.However, the "!" icon remains. Is it possible to hide the "!" icon?
$(document).on("html:updated", ".em_sq_fn_validation, .em_q_fn_validation", function () { if ($.trim($(this).text())) { $(this).removeClass("hidden"); } else { $(this).addClass("hidden"); } });
Please Log in to join the conversation.