Check out the LimeSurvey source code on GitHub!

Field ID not found

More
5 years 10 months ago #57932 by xenophobia
Hi,

I did an upgrade from 1.87 to 1.90+

Everything was fine but my condition won't work.

I had a survey which show field#2 when field#1 select options#2.

But right after i upgrade, the field#2 will always appear and when I switch between option#1 and option#2 in field#1, i get a javascript error saying that:

document.getElementById(field#2) is null

And I check the ID on field#2 is different from what it appear in the HTML source.

Javascript:
document.getElementById("question197");

HTML:
<textarea onkeyup="textLimit('answer15814X24X197', 65525); noop_checkconditions(this.value, this.name, this.type)" cols="100%" rows="5" alt="Answer" id="answer15814X24X197" name="15814X24X197" class="textarea"></textarea>

Anyone facing the same problem? How do I solve it?! Please help...

Please Log in to join the conversation.

More
5 years 10 months ago #57938 by DenisChenu
Hello,

Did you use a personal template ? Can you test with default template ?

With new template, there are some new keywords, look at {QUESTION_ESSENTIALS} : docs.limesurvey.org/The+template+editor&...+LimeSurvey#Keywords

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form