Hi @rettweber, Thanks for your help as I am no expert in JavaScript or JS Query. Using the syntax as written, i.e. '.QR-'+this.questionId worked for me and I will have separate variable names for different lists throughout the survey. What I would like to do now is to: 1) No longer display the auto-complete once the user makes a selection, specially in subsequent survey pages/blocks, which I tried to do by using an Unload action to no avail Qualtrics.SurveyEngine.addUnload(function() { jQuery('.QR-'+this.questionId).autocomplete({source:textOptions, disabled:true); }); On a computer, the content is still displayed at the top left, whereas on a mobile it displays at the very bottom. ! 2) Capture a substring of the answer (the last 4 digits) to drive the display logic and send respondents down different routes. Thanks again for your time!
> @AnthonyR said: > @rettweber > > Update to the following, to only add this to the particular question's text entry. > > > var textOptions = [ > "art","ant","all","alt","pun","pit" > ]; > jQuery('.QR-' + this.questionId).autocomplete({source:textOptions}) Hi Anthony R, thanks for posting this up and I hope you are still connected to the Qualtrics community! I have successfully implemented autocomplete using 'InputText', but when I try to link to question ID QR~QID1 I had no success. Would you mind spelling out the syntax for question ID QR~QID1, please? I have tried # and ~ so far to no avail. jQuery('.QR-' + this.questionId).autocomplete({source:textOptions}) Thanks in advance!
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.