Is there a way to add text before the language dropdown? | XM Community
Skip to main content

I have tried to add a ::before element with a content directive to select#Q_lang.Q_lang, Q_lang, and #Q_lang to no effect.
select#Q_lang.Q_lang{
content:"Insert Text"
}
Is there a better supported way of adding a label to the dropdown?

You can't add ::before or ::after pseudo elements to a select.
You can do it with JS:
jQuery("#Q_lang").before("Insert Text ");


Where can you add JS to the survey?


https://community.qualtrics.com/XMcommunity/discussion/comment/50689#Comment_50689Add it in the survey header in source mode. The whole thing would be:


It took me a while to find the post TomG mentions because of the community area going through updates, so here it is for everyone else coming to this post in the future: 

 


Leave a Reply