Hi,
I am trying to hide a few scale points for specific statement options (e.g. point on the 11th row, 3rd Column)?
I tried to run this code under AddOnload on Javascript but it did not work.
$('QR~QIDa~b~c').up('td').childElements().invoke('hide');
a=Question QID
b=Row #
c=Col #
Was wondering if this could be because I am running certain display logics in my scale points and it may be confusing the system? I'm not well versed with Javascript and was wondering if there's another code I can use?
Additionally, i have a few different scale points to hide on my matrix table. Can I simply add the multiple different codes into the AddOnload on Javascript for them to all run together?
e.g.
$('QR~QIDa~b~c').up('td').childElements().invoke('hide');
$('QR~QIDd~e~f').up('td').childElements().invoke('hide');
$('QR~QIDg~h~i').up('td').childElements().invoke('hide');
Thanks so much!
How to disable/hide certain scale points in a matrix table?
Best answer by rondev
To hide 11th row 3rd column, you can use below code:
var that = this.questionId;
var row = 11;
var column = 3;
jQuery("#"+that+" .ChoiceRow:eq("+(row-1)+") .c"+(column+3)+"").css({"pointer-events":"none","visibility":"collapse"});
Similarly, you can just change the row and column value and hide different cells.
Sign up
Already have an account? Login
Welcome! To join the Qualtrics Experience Community, log in with your existing Qualtrics credentials below.
Confirm your username, share a bit about yourself, Once your account has been approved by our admins then you're ready to explore and connect .
Free trial account? No problem. Log in with your trial credentials to join.
No free trial account? No problem! Register here
Already a member? Hi and welcome back! We're glad you're here 🙂
You will see the Qualtrics login page briefly before being taken to the Experience Community
Login with Qualtrics
Welcome! To join the Qualtrics Experience Community, log in with your existing Qualtrics credentials below.
Confirm your username, share a bit about yourself, Once your account has been approved by our admins then you're ready to explore and connect .
Free trial account? No problem. Log in with your trial credentials to join. No free trial account? No problem! Register here
Already a member? Hi and welcome back! We're glad you're here 🙂
You will see the Qualtrics login page briefly before being taken to the Experience Community
Login to the Community
Welcome! To join the Qualtrics Experience Community, log in with your existing Qualtrics credentials below.
Confirm your username, share a bit about yourself, Once your account has been approved by our admins then you're ready to explore and connect .
Free trial account? No problem. Log in with your trial credentials to join.
No free trial account? No problem! Register here
Already a member? Hi and welcome back! We're glad you're here 🙂
You will see the Qualtrics login page briefly before being taken to the Experience Community
Login with Qualtrics
Welcome! To join the Qualtrics Experience Community, log in with your existing Qualtrics credentials below.
Confirm your username, share a bit about yourself, Once your account has been approved by our admins then you're ready to explore and connect .
Free trial account? No problem. Log in with your trial credentials to join. No free trial account? No problem! Register here
Already a member? Hi and welcome back! We're glad you're here 🙂
You will see the Qualtrics login page briefly before being taken to the Experience Community
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
