How to change "..." for "Any text" in the empty answer of the dropdown boxes

More
3 years 1 week ago #114276 by Usapuka
Usapuka created the topic: How to change "..." for "Any text" in the empty answer of th
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!
Attachments:

Please Log in to join the conversation.

More
3 years 1 week ago #114323 by tpartner
tpartner replied the topic: How to change "..." for "Any text" in the empty answer of th
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.

Please Log in to join the conversation.

More
3 years 1 week ago - 3 years 1 week ago #114334 by Usapuka
Usapuka replied the topic: How to change "..." for "Any text" in the empty answer of th
Hi,

I would like to see this (with text instead of "...":



Thank you!
Attachments:
Last Edit: 3 years 1 week ago by Usapuka.

Please Log in to join the conversation.

More
3 years 1 week ago #114343 by holch
holch replied the topic: How to change "..." for "Any text" in the empty answer of th
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'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in to join the conversation.

More
3 years 1 week ago #114344 by Usapuka
Usapuka replied the topic: How to change "..." for "Any text" in the empty answer of th
Hi,

I´m using "Array" with the workaround indicated in my first question.

Please Log in to join the conversation.

More
3 years 1 week ago #114345 by holch
holch replied the topic: How to change "..." for "Any text" in the empty answer of th
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.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in to join the conversation.

More
3 years 1 week ago #114346 by Usapuka
Usapuka replied the topic: How to change "..." for "Any text" in the empty answer of th
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!

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!