Forum Discussion
Dreamsat
Aug 27, 2019Brass Contributor
How to wrap text in a InfoPath form multiple line textbox (in Chrome)?
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 ...
SPUserandMover
Jul 21, 2021Copper Contributor
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.
danielbarroso
Mar 04, 2022Copper Contributor
Works!