Force All Capital Letters for Form Field Response | XM Community
Skip to main content

(Important context: using free version of Qualtrics)
Looking to have respondents only enter capital letters for a form response. I've seen some coding answers to this issue (i.e. TomG), though I don't know what to enter in the appropriate areas.
Responses will be Location #1, Location #2, etc. up to Location #5 accompanied with text fields for respondents to enter the desired location. Want responses formatted as city and state abbreviation in all capital letters (ex: NEW YORK, NY). What piece would go where in the following line of code?
Line of code referencing:
jQuery("#"+this.questionId+" .InputText").on("input", function() { this.value = this.value.toUpperCase(); });

If you have a text entry form that should work, except you are missing ; }); }); at the end.
I don’t know much about a free license so don’t know if you can add JS.



Ok, I'll give that a go. Thank you.
Similar inquiry: does Qualtrics support Google Maps location options (i.e. type in your zip code or start typing city/town name and options appear beneath text entry to select from) whether as integration or via coding?


Leave a Reply