Using the below code to trim the character count and limit the characters below 65000 in a paragraph as the character count in the interface is different from the character count when we paste the same in the word document.please suggest changes and attached the screenshot of interface count and character count
if( local!isEdit, a!paragraphField( value: fv!item.body, saveInto: fv!item.body, characterLimit: 65000, showCharacterCount: true, height: "TALL", validations: if( len(fn!trim( fn!substitute( fv!item.body, char(10)," ") ) ) > 65000, "The communication you are trying to send exceeds the character limit allowed. Please send a modified version of the letter to not exceed [65000]", null )
Discussion posts and replies are publicly visible
Well, then this is an "issue" that has no real solution. I also have my doubts that this becomes an issue in real live when people enter text. And, I am sorry in case this sounds a bit ignorant. Is just like with email where everybody thinks that email is simple, and is surprised into what a dark and deep rabbit hole you fall when looking at the details.
is there no solution for this?
I was just checking some conversations around notepad++. There is also a controversy around which characters to include when counting. To answer your question, I do not see a "solution" to that "issue".