Select to view content in your preferred language

Placeholder Text Wrapping of Depicted Hint

385
3
04-02-2025 11:53 AM
StaceyRose
New Contributor

I am using Survey123 Connect version 3.20.63. I am creating a survey that will mainly be completed using a mobile device. I created a multiline text type field where I would like the placeholder hint to be displayed in a text-wrapped format. Currently the text continues to flow across the one line and out of visibility without wrapping to the next line. Is there a way to wrap the placeholder hint?

0 Kudos
3 Replies
LaurenceTait
Frequent Contributor

Survey123 Connect automatically wraps text in hints by default:

Capture.JPG

Capture.JPG

 

It will be easier to work out what is gong wrong with yours if you upload your xlsx sheet.

0 Kudos
StaceyRose
New Contributor

The hint is wrapped automatically but if you want to display that hint as a placeholder (using placeholderText=@[hint] in the body::esri:style column) inside of a multiline text box which can be automatically typed over, it does not wrap. I want the hint depicted as a placeholder within the textbox to wrap instead of continue on into infinity on one line. This is currently what it looks like. I feel there must be a way to modify this.

StaceyRose_0-1743691449586.png

 

0 Kudos
Neal_t_k
Frequent Contributor

You could add "<br>"  where you want the breaks in your hint to be if it is static text.  

0 Kudos