Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

THEMA: Suppress one option in an Array Dual Scale question

Suppress one option in an Array Dual Scale question 2 Jahre 2 Tage her #87510

  • tfj
  • tfjs Avatar
  • OFFLINE
  • Expert Lime
  • Beiträge: 80
  • Dank erhalten: 6
  • Karma: 5
In an Array Dual scale question type, is it possible to suppress one answer option for one(or more)of the subquestions?

For example, please see the attached pdf file. The first question is not asked in the first of the scales, but is asked in the second. (This is just an example . . . the actual question has many subquestions.)

I realize that I could split the question into parts, but this would make it harder for the data analysts.

I am using version 1.92+, build 120919.

Thanks!

tfj
Anhang:
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Suppress one option in an Array Dual Scale question 2 Jahre 2 Tage her #87517

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 6472
  • Dank erhalten: 854
  • Karma: 254
Hello,

There are no included system to do that. You can hide the input.checkbox in javascript.

Denis
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Suppress one option in an Array Dual Scale question 2 Jahre 1 Tag her #87607

  • tfj
  • tfjs Avatar
  • OFFLINE
  • Expert Lime
  • Beiträge: 80
  • Dank erhalten: 6
  • Karma: 5
Thanks, Denis.

If anyone on the forum has done this, would you please share your technique?

tfj
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Suppress one option in an Array Dual Scale question 2 Jahre 1 Tag her #87610

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 6472
  • Dank erhalten: 854
  • Karma: 254
Hello,

If i made no error,

For 1st scale: S1A1,S1A2,S1A3
For 2nd scale: S1A1,S1A2,S1A3

For subQ: SQ001,SQ002 ....

Hide SQ001 / S1A1:
$("#question{QID} .javatb{SGQ}SQ001 .answer_cell_1_00S1A1 input.radio").hide();

Hide SQ002 / S2A3:
$("#question{QID} .javatb{SGQ}SQ003 .answer_cell_2_00S2A3 input.radio").hide();

(in
$(function() {});
)
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Suppress one option in an Array Dual Scale question 2 Jahre 1 Tag her #87611

  • tfj
  • tfjs Avatar
  • OFFLINE
  • Expert Lime
  • Beiträge: 80
  • Dank erhalten: 6
  • Karma: 5
Thanks, Denis! I'll have a look.

tfj
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Suppress one option in an Array Dual Scale question 1 Jahr 3 Monate her #98628

  • lsorg
  • lsorgs Avatar
Hi,

I have tested the code to hide some radioboxes in my dual scale, but I don't work.

I hope somebody could give me some input what I have do wrong.

Test Survey

I want for example in my test question in the second array the complete first and second row without the boxes. But with the code that I have implement it don't work.

Best regards
lsorg
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Suppress one option in an Array Dual Scale question 1 Jahr 3 Monate her #98643

  • lsorg
  • lsorgs Avatar
Sorry but I can't edit my previous post.

Now I have edit the above code as follows:
$("#question{775} .answer_cell_2_00A1 input.radio").hide();

With this code it hides every radiobox in the eight column in each row. But I did not find out how can only hides the radiobox in the eight column in the rows where I want. For example in the first and second row.

Any ideas? The above .javatb{SGQ}SQ001 doesn't work.

Best regards
lsorg

Edit:

Ok I have find it out.

With this code you could hide each cell in a scale:
<script type="text/javascript" charset="utf-8">	
	$(document).ready(function(){
 
$("#javatbdSIDXGIDXQIDSQID .answer_cell_AID_00A1 input.radio").hide();
 
})
</script>

SID = Survey ID
GID = Groupquestion ID
QID = Question ID
SQID= Subqestion ID
AID = Arry ID


Anhang Snip20130730_1.png nicht gefunden



For example: ("#javatbd452595X22X775SQ001 .answer_cell_2_00A1 input.radio").hide();

My survey ID: 452595
Groupquestion ID: 22
Question ID: 775
Subquestion ID: SQ001
Arry: 2 (if you want hide cells in the first arry you have change it to 1)

<script type="text/javascript" charset="utf-8">
$(document).ready(function(){
$("#javatbd452595X22X775SQ001 .answer_cell_2_00A1 input.radio").hide();

})
</script>

Best regards
lsorg
Letzte Änderung: 1 Jahr 3 Monate her von lsorg.
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Moderatoren: ITEd
Ladezeit der Seite: 0.155 Sekunden
Donation Image