Hello!You should be able to use CSS here with Qualtrics' Look and Feel editor. So you'll need to jump from the Survey Builder to the Look and Feel tab on the left-hand side of the screen. Then click Style (under General) and enter the CSS code. Maybe something like this:.box { inline-size: 150px; overflow-wrap: break-word;}Then back in your card-sorting question, you'll surround each of the choices with a div where class="box". Hopefully that helps!
Hi there!Yes, this is possible. Your best bet is to bypass the validation within the question itself, and add a placeholder question that will just display some error text on the same screen. By not adding a page break, this will just act as a way to display the message underneath the question. You can add something like this in the question text for your new placeholder question: In your initial question, you'll add JavaScript to display the errorMsg object whenever that condition is true: document.getElementById("errorMsg").innerHTML = "ENTER ERROR TEXT HERE";Hopefully that helps!
Hi there!A div will add a line break, whereas will work inline. If you just replace div with span, that should take care of it.-Matt
Hi there,It looks like since you're copying this for multiple buttons, since you're always referring to the same id, it will only open that first one. You should be able to fix this by giving each button a unique name (button2, button3, etc.). If you change that name in both the JS and HTML, it should work. (Just make sure to do the same for your div as well.)
I don't think you necessarily need JavaScript. I would probably create an embedded data field after Q2, and assign Account, Partner A, Partner B, or Partner C as needed. Then you would pipe that result into Q3.
No problem!
Hi Manfred,A colleague had a similar request, so the following JavaScript checked if the total was over 100. The key will be finding the ID of each box in your constant sum question. You can use your debugger to find those (replacing the QR~QID82#1 elements in this example).The other thing this example is doing is displaying an error message, so after this question, on the same page, I have an empty question that just has this HTML in the question text: . The JavaScript is feeding the message (if needed) into that errorMsg.Hope this helps!Qualtrics.SurveyEngine.addOnReady(function(){ /*Place your JavaScript here to run when the page is fully displayed*/ const percentInputs = document.querySelectorAll("input[type=text].InputText"); //Every time someone types in a number add all the boxes together, update the running total, and display error if applicable. function addItUp(){ if(document.getElementById('QR~QID82#1~1~1~TEXT').value > 100 || document.getElementById('QR~QID82#1
I think this year's holiday season is the best I could hope for! I got married in October, so my wife and I are taking our honeymoon over New Year's to Maui! We're looking forward to all the great food, hiking, and seeing volcanoes! The only bad part is that it will go too quickly.
Already have an account? Login
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.