Hi @rondev Thanks for your suggestion. I have tried that but it does not seem to do anything… The below is how I have entered it into my onReady function - perhaps your code is being invalidated by something else? Qualtrics.SurveyEngine.addOnReady(function(){ jQuery("#"+this.questionId+" .c4 .Essay").each(function(){ jQuery(this).css({"height":jQuery(this).prop("scrollHeight")+"px","overflow":"hidden"}); });//jQuery("#"+this.questionId+" .Choice"+" input[type='text']").css("text-align","left");jQuery("#"+this.questionId+" .Choice"+" input[type='text']").attr("readonly",true);//jQuery("#"+this.questionId+" .Choice").css("height","10em");//jQuery(".ChoiceStructure table").attr("cellspacing","100");jQuery(".ProgressBarFill").css("width","40%");jQuery("table.ProgressBarContainer tbody tr td:eq(0) label").text("Survey completion: 40%"); const textarea = document.querySelectorAll('[type=text]'); const disabtextCSS = ` background-color: #f0f0f0; color:
Hi @TomG - thanks for this. How would you go about amending the javascript for a side-by-side question? In my case, I would only want to apply this to one column in my SBS question… thanks!
Hi @Elisabethan How did you get around resolving this in the end? I am facing the exact same issue - with the custom validation on the “Not applicable” button, it is still asking the respondent to total the choices to 100…Thanks Juan
Thank you, @qualtrics_nerd ! You are a legend. Juan
Hi @Michael_Campbell_RedPepper , I am trying to implement this on my side-by-side question, where I want all text pre-populated in one column (the second column- see below) to be non-editable. I am trying the following JS code (the question ID is 79), to no avail.jQuery("[#QR~QID79]").attr("readonly",true); Any suggestions? Thanks!!
@ahmedA - is there a way to do this keeping the built-in ‘must add to 100’ validation? I really like the way this looks, with the counter and the way in which it stops the sliders going any further if this leads to a sum over 100. However, I would also like the respondent to be able to enter nothing, and effectively skip the question. Is this possible?
Hi @PraDeepKotian_Ugam , could you suggest how to amend this code for it to work on the rows of a side-by-side question? Thanks
Hi there, this is great @TomG - thank you. Can you suggest how the JS could be changed for a side-by-side question? I imagine you would need to declare several variables like qobj and recodes (one for each column), but not quite sure how to do this as I am a real newbie to JS… Additionally, would this method work for dropdown lists?For context- I am basically looking at pre-populating the following SBS question with the answers previously given to the same question earlier in the survey (so effectively duplicating it after being completed, to ask the respondent to double check): Any tips are welcome!!
Hi @qualtrics_nerd , I tried that but the hover is coming up without the nice formatting: Compared to what is showing up when I followed your instructions for the answer-choice hovers: Any tips? Thanks!
Also @qualtrics_nerd - if I wanted to get the same formatting for the hover over the sub-headings in a side-by-side question - as below for ‘own office’, ‘Embassy’ and ‘other’ - how would I need to amend the javascript?
Thanks @qualtrics_nerd ! That worked. Just one more quick question - I don’t suppose there is a way of changing the formatting of the tooltip text so that it stands out a bit more? No worries if not. :)
Hi @jmborzick,I am following your (very clear!) instructions but having no luck. As far as I can tell, I have correctly added the CSS code, the javascript and edited the choices - see below:When I go through to preview the question, I just get the code for each choice, rather than the working tool-tip. Do you have any idea why this may be happening? Is it something to do with it being a slider question? Thanks! Juan
Already have an account? Login
Enter your 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.