none
Word wrap issue in multi line field in InfoPath RRS feed

  • Question

  • Hello Team,

    We have designed an InfoPath form with few multiline text fields. While we work in IE then word wrap is automatically working properly but when we doing the same in Chrome then word wrap is not working until we do not press the enter key. Also, we are not able to see any property in InfoPath designer to set word wrap. 

    Please help how can we allow the word wrap in Chrome as well.

    Thanks

    Tuesday, July 14, 2020 8:08 AM

All replies

  • Hi Priyanka,

    To troubleshoot the issue, you can follow the steps below:

    1.Upload a new css file to the “Style Library”. File should contain the following:

    textarea { white-space: pre-wrap !important; word-wrap: break-word !important; }

    2.Go to Site Settings – Look and Feel – Master Page

    3.Set the Alternate CSS URL to point to the new CSS file that was added to the “Style Library”

    Make sure to check “Reset all subsites…..”


    4.Save and issue should be resolved for Chrome.

    In addition, you can also use another method:

    Add a Script Editor WebPart and add this line of code to it:

    <style>
    textarea{
         white-space:pre-line !important;
    }
    </style>

    This “SharePoint 2013 - Using SharePoint Designer, InfoPath and Other Customizations” Forum will be migrating to a new home on Microsoft Q&A, please refer to this sticky post for more details.

    Best regards

    Itch Sun


    "SharePoint" forums will be migrating to a new home on Microsoft Q&A !
    We invite you to post new questions in the "SharePoint" forums' new home on Microsoft Q&A !


    Wednesday, July 15, 2020 6:45 AM
  • Hi ,

    I am checking your situation here.

    Any progress on your troubleshooting?

    Best regards

    Itch Sun


    "SharePoint" forums will be migrating to a new home on Microsoft Q&A !
    We invite you to post new questions in the "SharePoint" forums' new home on Microsoft Q&A !

    Monday, July 20, 2020 8:40 AM
  • Hi,

    This thread has been around for a long time. Please remember to mark the replies as answers if they helped. Your action would be helpful to other users who encounter the same issue and read this thread.

    Thank you for understanding! If you have any questions, or updates, please feel free to let me know.

    Best Regards,

    Itch Sun


    "SharePoint" forums will be migrating to a new home on Microsoft Q&A !
    We invite you to post new questions in the "SharePoint" forums' new home on Microsoft Q&A !

    Wednesday, July 22, 2020 9:55 AM