I will say my jQuery/JavaScript is rusty, but the Qualtrics naming and usage has me stumped. I have a two-column matrix question that allows the R to select one or both. I am being asked to create a second question with a check box that (if checked) would uncheck all of the entries in matrix.
Q1 Visited Stayed
Park 1 ___ ___
Park 2 ___ ___
Park 3 ___ ___
Q2
___ I did not visit or stay in any of these parks
Normally, I would put this in the matrix, but the request is to split it out. In the JavaScript for Q2: How do I reference (and set) the boxes accordingly? Is there a best practice for this type of situation? Any sample code would be appreciated.
Jquery/Javascript to uncheck all items in a matrix question
Best answer by TerryP
I was able to figure it out. It didn't appear that the checkbox below the matrix was able to use the prop. Using .jQuery('QR~QIDn-1').prop('checked', false); worked.
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.
