- Posts: 7
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
2 File upload in a single page
- mahadikashvini
- Topic Author
- Offline
- New Member
Less
More
3 years 11 months ago #197791
by mahadikashvini
2 File upload in a single page was created by mahadikashvini
1 Question -> File Upload -> Works Fine
2 Question -> Both file Upload type -> Popup opens -> Select file works for anyone, for other no popup window opens
2 Question -> Both file Upload type -> Popup opens -> Select file works for anyone, for other no popup window opens
Attachments:
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13597
- Thank you received: 2487
3 years 11 months ago #197797
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic 2 File upload in a single page
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The following user(s) said Thank You: holch, mahadikashvini
The topic has been locked.
- mahadikashvini
- Topic Author
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 0
3 years 11 months ago #197992
by mahadikashvini
Replied by mahadikashvini on topic 2 File upload in a single page
Thank you... i have updated js and then changes are reflected also....But now issue is as we do file upload for one question, whole page becomes inactive in a way....Question <----> dependent questions does not show/hide up...
My Second file upload also don't work Sharing screenshot for second file upload
My Second file upload also don't work Sharing screenshot for second file upload
The topic has been locked.
- mahadikashvini
- Topic Author
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 0
3 years 11 months ago #197993
by mahadikashvini
Replied by mahadikashvini on topic 2 File upload in a single page
Please refer attachment
Attachments:
The topic has been locked.
- mahadikashvini
- Topic Author
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 0
3 years 11 months ago #197996
by mahadikashvini
Replied by mahadikashvini on topic 2 File upload in a single page
Error has been resolved as i did below change,,,
Before changes
window.getUploadHandler = function(qid, options){
if (!window.currentUploadHandler){
window.currentUploadHandler = new uploadHandler(qid, options);
}
window.currentUploadHandler.init();
return window.currentUploadHandler;
}
After changes
window.getUploadHandler = function(qid, options){
if (!window.currentUploadHandler){
}
window.currentUploadHandler = new uploadHandler(qid, options);
window.currentUploadHandler.init();
return window.currentUploadHandler;
}
Uploader.js was not taking new questions data as it was not getting intialised if it had been intialised by other question on same page.
Before changes
window.getUploadHandler = function(qid, options){
if (!window.currentUploadHandler){
window.currentUploadHandler = new uploadHandler(qid, options);
}
window.currentUploadHandler.init();
return window.currentUploadHandler;
}
After changes
window.getUploadHandler = function(qid, options){
if (!window.currentUploadHandler){
}
window.currentUploadHandler = new uploadHandler(qid, options);
window.currentUploadHandler.init();
return window.currentUploadHandler;
}
Uploader.js was not taking new questions data as it was not getting intialised if it had been intialised by other question on same page.
The topic has been locked.
- mahadikashvini
- Topic Author
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 0
3 years 11 months ago #197998
by mahadikashvini
Replied by mahadikashvini on topic 2 File upload in a single page
Only remaining is, whole page dependent question logic doesnt work like
1. clicking on first question of YES/NO qid1 -->it works fine
2. Second question opens up, on clicking yes of qid1 (This question is file upload --> works perfect as expected)
3.again we have YES/NO question-> qid3
4. fourth question will open on YES of qid 3 --> (Does not work) -->(This is also a file upload question)
if opening second and fourth question on page load by clicking YES of qid1 and qid3 respectively -> then do upload, it works as expected
But again remaining questions (if dependency is there) , it does not show dependent question on clicking yes of parent question.
1. clicking on first question of YES/NO qid1 -->it works fine
2. Second question opens up, on clicking yes of qid1 (This question is file upload --> works perfect as expected)
3.again we have YES/NO question-> qid3
4. fourth question will open on YES of qid 3 --> (Does not work) -->(This is also a file upload question)
if opening second and fourth question on page load by clicking YES of qid1 and qid3 respectively -> then do upload, it works as expected
But again remaining questions (if dependency is there) , it does not show dependent question on clicking yes of parent question.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13597
- Thank you received: 2487
3 years 11 months ago #198001
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic 2 File upload in a single page
If you can reproduce on next release : please report the issue with a sample lss.
But wait for 4.2.1 please
But wait for 4.2.1 please
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The following user(s) said Thank You: mahadikashvini
The topic has been locked.
- mahadikashvini
- Topic Author
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 0
3 years 11 months ago #198025
by mahadikashvini
Replied by mahadikashvini on topic 2 File upload in a single page
ok. sure
The topic has been locked.
- mahadikashvini
- Topic Author
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 0
3 years 11 months ago #198032
by mahadikashvini
Replied by mahadikashvini on topic 2 File upload in a single page
Reported bug in bug tracker
bugs.limesurvey.org/view.php?id=16194
bugs.limesurvey.org/view.php?id=16194
The topic has been locked.