Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

164
Visualizações
Edit "Pick, Group, and Rank" choices in Qualtrics using JavaScript

I am trying to dynamically populate options for my question. To change the question text, I can do something like this in the question's JavaScript:

jQuery("#"+this.questionId+" .QuestionText").html(...)

How would I do something similar to this for choice descriptions? Here is what I thought would work based on names in the Workflow tab:

jQuery("#"+this.questionId+" .ChoiceDescription/1").html(...)

Because there are thousands of possible questions and they have their respective choices, I would prefer to do this purely through JavaScript as I have a JSON object of all the data I need. But alternatives are welcome.

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

You need to use the correct selector. You can use your browser's inspect feature to find the correct element to update. For a PGR choice description 1 it would be:

jQuery("#"+this.questionId+" .Items li[data-choiceid=1] label>span").html(...)
about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda