- Posts: 10611
- Thank you received: 3690
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
How bypass php zip import to add resources ?
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
11 years 3 months ago #90078
by tpartner
Can you activate another sample survey?
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic How bypass php zip import to add resources ?
Not the whole survey, only all text inputs on the current page.when i remove the :eq0 it applies to the whole survey.
Can you activate another sample survey?
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- hug
- Topic Author
- Offline
- New Member
Less
More
- Posts: 12
- Thank you received: 1
11 years 3 months ago #90087
by hug
Replied by hug on topic How bypass php zip import to add resources ?
You will find the activated survey here :
cdlvg.free.fr/index.php?sid=33913&lang=fr
You just have to choose anyone of the answer in the radio list and time questions will appear.
You just have to choose anyone of the answer in the radio list and time questions will appear.
The topic has been locked.
- Ben_V
- Offline
- Platinum Member
Less
More
- Posts: 1223
- Thank you received: 351
11 years 3 months ago #90088
by Ben_V
Benoît
EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
Replied by Ben_V on topic How bypass php zip import to add resources ?
Hi,
It doesn't works if you just remove (or wrap as comment) this kind of code ?:
It doesn't works if you just remove (or wrap as comment) this kind of code ?:
$('#answer33913X4X34').attr('readonly', 'readonly');
Benoît
EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
The following user(s) said Thank You: hug
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10611
- Thank you received: 3690
11 years 3 months ago #90092
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic How bypass php zip import to add resources ?
Yes, in the first question (ID 38), you have this which removes the attribute from all text inputs:
But then in the second question (ID 44), you have this which overrides that and applies the attribute to the first question again:
The JavaScript will be fired sequentially as the page is rendered so any commands or functions will override previous ones.
Code:
$(".text-short input.text").removeAttr('readonly');
But then in the second question (ID 44), you have this which overrides that and applies the attribute to the first question again:
Code:
$(".text-short:eq(0) input.text").attr('readonly', 'readonly');
The JavaScript will be fired sequentially as the page is rendered so any commands or functions will override previous ones.
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: hug
The topic has been locked.
- hug
- Topic Author
- Offline
- New Member
Less
More
- Posts: 12
- Thank you received: 1
11 years 3 months ago #90152
by hug
Replied by hug on topic How bypass php zip import to add resources ?
Ok ! It works perfectly now
I understand my mistake : i thought I could have set this parameter question by question.
One more time, but the last one for this question type, thank you very much you too for your help
I understand my mistake : i thought I could have set this parameter question by question.
One more time, but the last one for this question type, thank you very much you too for your help
The topic has been locked.