Welcome, Guest
Username: Password: Remember me

TOPIC: Field ID not found

Field ID not found 3 years 6 months ago #57932

  • xenophobia
  • xenophobia's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 1
  • Karma: 0
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...
The administrator has disabled public write access.

Re: Field ID not found 3 years 6 months ago #57938

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6360
  • Thank you received: 824
  • Karma: 245
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
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.095 seconds
Donation Image