Enhanced Rich Text Field displays error message twice!
Posted: 14 Oct 2015
Hi,
With an Enhanced RTF, if you set that to be mandatory via the Column setting in the SharePoint List and then create a New document the warning message of 'You must specify a value.....' appears twice (one above the other) on the form. RTFs which are Plain text or simple Rich text display the message only once. To me this is no desperately bad thing, however a customer we are working with is making a bit of an issue about it to us.
Have others noticed this and is there a reason?
There is also a generic SharePoint 'feature' with Enhanced RTFs that then caught me out as I was considering my options. In order to check things thoroughly, I went and created a test List and added column types of each of the RTF variants - Plain, Rich Text, Enhanced Rich text and messed about with that creating new and then editing documents. What I found was that if you have an Enhanced RTF column that is mandatory, create a form with a value in that and save it, then go and edit that form and completely clear the field, you can still Save the document! To my mind surely this is a FAIL on the part of Microsoft? Once you re-edit the document, there is always some form of spaces and returns in the 'empty' field and it can never be empty again - thus never properly checked. Again - have others come across this and is it a known 'foible' ?
Thanks to anyone who can add info to these questions.
With an Enhanced RTF, if you set that to be mandatory via the Column setting in the SharePoint List and then create a New document the warning message of 'You must specify a value.....' appears twice (one above the other) on the form. RTFs which are Plain text or simple Rich text display the message only once. To me this is no desperately bad thing, however a customer we are working with is making a bit of an issue about it to us.
Have others noticed this and is there a reason?
There is also a generic SharePoint 'feature' with Enhanced RTFs that then caught me out as I was considering my options. In order to check things thoroughly, I went and created a test List and added column types of each of the RTF variants - Plain, Rich Text, Enhanced Rich text and messed about with that creating new and then editing documents. What I found was that if you have an Enhanced RTF column that is mandatory, create a form with a value in that and save it, then go and edit that form and completely clear the field, you can still Save the document! To my mind surely this is a FAIL on the part of Microsoft? Once you re-edit the document, there is always some form of spaces and returns in the 'empty' field and it can never be empty again - thus never properly checked. Again - have others come across this and is it a known 'foible' ?
Thanks to anyone who can add info to these questions.