Rank order text entry width | XM Community
Skip to main content
Question

Rank order text entry width

  • April 8, 2022
  • 1 reply
  • 8 views

Wondering if anyone knows the .css style that would lengthen my text entry fields in a rank order survey. Tks!
2022-04-08_10-35-47.png

1 reply

Rudi
QPN Level 3 ●●●
Forum|alt.badge.img+16
  • QPN Level 3 ●●●
  • April 11, 2022

hi sebastienmarion,

the class you are looking for would be TextEntryBox
However this will effect all other Text entry boxes as well in your survey
You could style the text boxes for this question only by using javaScript

for example like this:
Qualtrics.SurveyEngine.addOnload(function()
{
let teb = document.getElementsByClassName('TextEntryBox')

console.log(teb)

for(let i =0;i teb[i].style.width= "70%";
teb[i].style.marginLeft= "0.8em";
}
});
Best regards

Rudi