How to make text entry boxes automatically resize based on the text entry length? | XM Community
Skip to main content

Hi all,

 

I need a bit of help to figure out the code that would make text entry boxes (for both text entry questions as well as different question types where I’ve inserted a text entry box, such as multiple choice or matrix questions) expand to fit respondents answers. This is an ongoing survey, so previous responses are embedded and displayed to the respondent. When I allow text entry on multiple choice and matrix qs, the box is so small that respondents with lengthy answers can’t see their responses. However, most respondents aren’t entering in comments, so increasing the box size to even a medium creates a lot of wasted space and is fatiguing. 

Any help is greatly appreciated! Please include where I should insert any code (i.e. question level JS add on load, look and feel header, etc.).

Be the first to reply!

Leave a Reply