- Posts: 61
- Thank you received: 4
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
How to change "..." for "Any text" in the empty answer of the dropdown boxes
- Usapuka
- Topic Author
- Offline
- Senior Member
Less
More
9 years 4 months ago #114276
by Usapuka
How to change "..." for "Any text" in the empty answer of the dropdown boxes was created by Usapuka
Hi,
In using this workaround: www.limesurvey.org/en/community-services...rs-in-dropdown-boxes .
How can I put a text instead of the 3 points in the empty answers?
Thank you!
In using this workaround: www.limesurvey.org/en/community-services...rs-in-dropdown-boxes .
How can I put a text instead of the 3 points in the empty answers?
Thank you!
Attachments:
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10634
- Thank you received: 3698
9 years 4 months ago #114323
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 to change "..." for "Any text" in the empty answer of the dropdown boxes
Sorry, I don't understand the question. Can you explain more?
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- Usapuka
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 61
- Thank you received: 4
9 years 4 months ago - 9 years 4 months ago #114334
by Usapuka
Replied by Usapuka on topic How to change "..." for "Any text" in the empty answer of the dropdown boxes
Attachments:
Last edit: 9 years 4 months ago by Usapuka.
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11758
- Thank you received: 2753
9 years 4 months ago #114343
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic How to change "..." for "Any text" in the empty answer of the dropdown boxes
Which question type are you using there? I tested with "Array" and dropdown layout and for me it says "no answer" when nothing has been chosen.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- Usapuka
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 61
- Thank you received: 4
9 years 4 months ago #114344
by Usapuka
Replied by Usapuka on topic How to change "..." for "Any text" in the empty answer of the dropdown boxes
Hi,
I´m using "Array" with the workaround indicated in my first question.
I´m using "Array" with the workaround indicated in my first question.
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11758
- Thank you received: 2753
9 years 4 months ago #114345
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic How to change "..." for "Any text" in the empty answer of the dropdown boxes
OK, but it is not a normal array question with the option dropdown. I assume the work around is mainly to bring more than one column of dropdowns into the array? (make it easy for us so we don't have to read all the other thread and guess, because I did read the other thread, but it wasn't clear what type of question is used in this workaround).
Because your link up there ( www.limesurvey.org/en/community-services...rs-in-dropdown-boxes ) references to another post ( www.limesurvey.org/en/forum/can-i-do-thi...rs-in-dropdown-boxes ) and this one to another post which gives me an error message ( www.limesurvey.org/en/forum/design-issue...nu-matrix-multi-flex ).
This doesn't really make it easy to help.
Because your link up there ( www.limesurvey.org/en/community-services...rs-in-dropdown-boxes ) references to another post ( www.limesurvey.org/en/forum/can-i-do-thi...rs-in-dropdown-boxes ) and this one to another post which gives me an error message ( www.limesurvey.org/en/forum/design-issue...nu-matrix-multi-flex ).
This doesn't really make it easy to help.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- Usapuka
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 61
- Thank you received: 4
9 years 4 months ago #114346
by Usapuka
Replied by Usapuka on topic How to change "..." for "Any text" in the empty answer of the dropdown boxes
Sorry Holc,
Yes, the workaround is for having in an Array more than 2 columns:
<script type="text/javascript" charset="utf-8">
$(document).ready(function(){
$('#question1625 .answer_cell_00SQ001 option[value=1]').text('Text 1');
$('#question1625 .answer_cell_00SQ001 option[value=2]').text('Text 2');
$('#question1625 .answer_cell_00SQ001 option[value=3]').text('Text 3');
$('#question1625 .answer_cell_00SQ001 option[value=4]').text('Text 4');
$('#question1625 .answer_cell_00SQ001 option[value=5]').text('Text 5');
$('#question1625 .answer_cell_00SQ002 option[value=1]').text('Text 11');
$('#question1625 .answer_cell_00SQ002 option[value=2]').text('Text 12');
$('#question1625 .answer_cell_00SQ002 option[value=3]').text('Text 13');
$('#question1625 .answer_cell_00SQ002 option[value=4]').text('Text 14');
$('#question1625 .answer_cell_00SQ002 option[value=5]').text('').remove();
$('#question1625 .answer_cell_00SQ003 option[value=1]').text('Text 121');
$('#question1625 .answer_cell_00SQ003 option[value=2]').text('Text 122');
$('#question1625 .answer_cell_00SQ003 option[value=3]').text('Text 123');
$('#question1625 .answer_cell_00SQ003 option[value=4]').text('Text 124');
$('#question1625 .answer_cell_00SQ003 option[value=5]').text('').remove();
});
</script>
Thanks!
Yes, the workaround is for having in an Array more than 2 columns:
<script type="text/javascript" charset="utf-8">
$(document).ready(function(){
$('#question1625 .answer_cell_00SQ001 option[value=1]').text('Text 1');
$('#question1625 .answer_cell_00SQ001 option[value=2]').text('Text 2');
$('#question1625 .answer_cell_00SQ001 option[value=3]').text('Text 3');
$('#question1625 .answer_cell_00SQ001 option[value=4]').text('Text 4');
$('#question1625 .answer_cell_00SQ001 option[value=5]').text('Text 5');
$('#question1625 .answer_cell_00SQ002 option[value=1]').text('Text 11');
$('#question1625 .answer_cell_00SQ002 option[value=2]').text('Text 12');
$('#question1625 .answer_cell_00SQ002 option[value=3]').text('Text 13');
$('#question1625 .answer_cell_00SQ002 option[value=4]').text('Text 14');
$('#question1625 .answer_cell_00SQ002 option[value=5]').text('').remove();
$('#question1625 .answer_cell_00SQ003 option[value=1]').text('Text 121');
$('#question1625 .answer_cell_00SQ003 option[value=2]').text('Text 122');
$('#question1625 .answer_cell_00SQ003 option[value=3]').text('Text 123');
$('#question1625 .answer_cell_00SQ003 option[value=4]').text('Text 124');
$('#question1625 .answer_cell_00SQ003 option[value=5]').text('').remove();
});
</script>
Thanks!
The topic has been locked.