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 in InfoPath? This issue we have only in chrome!
This is the current situation:
This is the expected situation:
- SPUserandMoverCopper 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.
- danielbarrosoCopper ContributorWorks!
- Doug AllenIron Contributor
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?
- DreamsatBrass ContributorWhat about inject some css in the SharePoint masterpage or custom action?