I'd still definitely love to find a non-js solution, but this does seem to work.
ADDING TEXT FORM FIELD WORD 2010 CODE
I've come up with the following javascript (using jQuery) code which seems to work. It stops this from happening on new records and new edits but will not clear up the already deeply nested divs.
However, changing from Enhanced to regular Rich Text does not fix existing records which already have the issue. It appears that the issue only occurs with Enhanced Rich Text and not regular Rich Text.
More advanced ways will be either JavaScript of editing the form with SharePoint Designer 2010. Go to List Settings and click on the field you want and youll find a description field that you can use to guide the person entering the data. After multiple saves the value looks something like this: Outside of using code to change the form, you can add a description to certain fields. Looking at the HTML of the field value on any of the Sharepoint screens shows that it is in fact nesting the value within another div with each save. I have been able to duplicate this result in multiple different sharepoint 2010 environments, so it doesn't seem to be environmental in any way.ĭoes anyone know why this is happening and how I can fix it? Changing to plain text fixes the problem, but this is not ideal as the list should have rich text. These blank lines do not display anywhere within Sharepoint, only in Excel. Eventually the text isn't even visible within excel as the field has grown so long that all of the real text is pushed off screen. Now when I export to Excel I find blank lines preceding the text.Īfter some testing, I have found that an extra blank line appears each time this field is edited. I have customized the form with Infopath. You know you want to use form fields in your document (they are essential in creating forms, after all) but you need to specify what can be entered in the fields. For working efficiently in future, it is quite necessary to find out them. It is hard to edit our forms without these useful buttons, functionalities, and features.
I have a fairly basic custom list in Sharepoint 2010 which contains a rich text field. Get Form Toolbar in Office 2010, 2013, 2016, 2019 and 365 Ribbon The Form Toolbar disappeared, and we can’t get the Form Toolbar in Ribbon quickly.