Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

134
Views
Javascript conjoint table in Qualtrics

I am using Javascript received from someone else (I have no JS knowledge) to display a table to run a conjoint experiment in Qualtrics. It displays fine, but when I eliminate one of the attributes for the second block (the control), the table stops displaying. I have played around with a bunch of stuff and can't figure out where I'm going wrong. Is there something wrong with this script? Thanks!

  if (attribute_array.length !== values_array.length) {
alert("Your attributes array and values array do not match.");


}
  var numbers_array = [];
  for (var i = 0; i < attribute_array.length; i++) {
    numbers_array.push(i);
  }
  if (!sessionStorage.random_result) {
    sessionStorage.random_result = shuffle(numbers_array);
  }
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!