When responding to a side by side question with a text box, the cursor is automatically centered. How can I make it left justified? Thank you in advance.
When responding to a side by side question with a text box, the cursor is automatically centered. How can I make it left justified? Thank you in advance.
Hey
you can try this code. You need to replacs QID3 with your own Question ID.
Qualtrics.SurveyEngine.addOnload(function() {
// Replace 'QID3' with your actual Question ID
var questionId = 'QID3';
var inputs = document.querySelectorAll('#'+ questionId + ' inputdtype="text"], #' + questionId + ' inputdtype="number"], #' + questionId + ' textarea');
inputs.forEach(function(input) {
input.style.textAlign = 'left';
});
});
Thank you so much
Hello
I am new to Java script and don’t know how to insert the code above or where. I have the exact same issue with my side by side text boxes
you have a option under the question on the left side. At the bottem is Javascript
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.