Add static text after multiple choice text box | XM Community
Skip to main content

 

May I know how to add a static text after the text box show in the screenshot? I would like to put “minutes” there.

Thanks guys

Hi @JZhang,

You can refer to the link below for guide:-
 


You can also try changing the word to ‘before’ instead of ‘after’ in the code provided.

Hope this helps.


Depending on your needs, I’d just test how the above looks on mobile.  In past I have found editing the text box location may not layout as anticipated in the mobile view.  If needed a slider question might also be another question type which would be good for this.


just use below code.

HTML in question label and not directly into text

<span class=’minutes’>minutes</span>

JS code in onReady

jQuery(‘.minutes’).insertAfter(jQuery(‘inputytype=”text”]’))


Leave a Reply