How to wrap text in a InfoPath form multiple line textbox (in Chrome)?

Brass Contributor

We are using SharePoint online. What I see is that the text in an multiple line textbox is not wrapping to the next line when you reach the end of the textbox. How can I wrap a multiple line textbox in InfoPath? This issue we have only in chrome!

 

This is the current situation:

infopath multiple line of text.png

 

This is the expected situation:

infopath multiple line of text expected 2.png

4 Replies

@Dreamsat,

 

There's likely nothing you can do about this, and you should be evaluating replacing this InfoPath form with a PowerApp.  Is this a customized-list form or template in form library?

What about inject some css in the SharePoint masterpage or custom action?

@Dreamsat Idk if this is still and issue but these other replies aren't helpful. Saying "migrate" isn't a solve to your issue. If you're using custom list forms in InfoPath, drop the following in a CEWP/Script Editor web part into your "newifs" "editifs" "displayifs" pages to override the style and fix the text wrapping.

 

<style type="text/css">textarea{white-space: pre-line !important;}</style>

 

Haven't found a solve for InfoPath form libraries. These exhibit the same wrapping issue in Chrome/Chromium browsers, but load differently.