Welcome to the LimeSurvey Community Forum

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

Question condition with javascript

  • king_and1
  • king_and1's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 10 months ago #95927 by king_and1
Replied by king_and1 on topic Question condition with javascript
I´ve checked the ID but it´s the right one....

And don´t really know how to activate a test survey
The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
10 years 10 months ago #95946 by Mazi
Replied by Mazi on topic Question condition with javascript

king_and1 wrote: I´ve checked the ID but it´s the right one....

And don´t really know how to activate a test survey

Just activate your survey so we can access it and post the link to the survey here.

Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.
  • king_and1
  • king_and1's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 10 months ago #96003 by king_and1
Replied by king_and1 on topic Question condition with javascript
Ok , but i would have to copy it down to another server , gonna do this today.

But maybe there´s somethink more I need to do ?

In the IRC Live Chat someone once rode me that what i want to do is really tricky and I would have to edit this action also in the core of limesurvey not only via source on a special question. So what do you think about that ? Is that a possible reason ?
The topic has been locked.
  • king_and1
  • king_and1's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 10 months ago - 10 years 10 months ago #96005 by king_and1
Replied by king_and1 on topic Question condition with javascript
Now I´ve tried it with changes and so on , and I figured out that the Ajax call is working. But it can´t answer the question. So the mistake is the way I (we) want to answer the question...

I´ve made a hidden Question with List(radio) Answer.
Answers are : Right (A1) Wrong (A2)

Question settings are :


Last edit: 10 years 10 months ago by king_and1.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
10 years 10 months ago #96019 by tpartner
Replied by tpartner on topic Question condition with javascript
You must not hide the question with the advanced setting, questions hidden with this setting cannot be manipulated with JavaScript. You need to hide it with JavaScript or CSS.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: king_and1
The topic has been locked.
  • king_and1
  • king_and1's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 10 months ago #96023 by king_and1
Replied by king_and1 on topic Question condition with javascript
OOH MYYY GOOOD !!!! It works ^^

YES FINALLY !!!! Thank you tpartner !! You´re one of tha beest!!!!


But how can i hide it with Javascript :huh:
The topic has been locked.
  • king_and1
  • king_and1's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 10 months ago #96025 by king_and1
Replied by king_and1 on topic Question condition with javascript
GOt it ;)

Thx anyway . You helped me a lot !!!!!!!!!
The topic has been locked.
  • king_and1
  • king_and1's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 10 months ago #96026 by king_and1
Replied by king_and1 on topic Question condition with javascript
Well it works on my Test survey but not on the Real think -.-

used this at the end of template.css

#question91 {
display: none;
}
The topic has been locked.
  • king_and1
  • king_and1's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 10 months ago #96030 by king_and1
Replied by king_and1 on topic Question condition with javascript
Made It! Thx for your Support !
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose