Symptom
The form subject's goal item comment box shows incorrect number for how many characters are left to enter. When the UI shows that there are several left, upon saving the form it throws a validation error that says the character limit has been breached, while based on character count of applications like MS Word or Notepad, 1000 characters limit hasn't been reached.
"**Goal Name**
Enter 1 to 1,000 characters for Item Comments."
Environment
SAP SuccessFactors Performance & Goals 2511
Reproducing the Issue
- Enable Latest Form Experience.
- Open a performance form with goal section with comment character limitation (1-1000 characters).
- Click on a goal.
- Insert a comment that has at least one special character (e.g. &) and is 996-999 character long. (It should be 996-999 characters if there is only one special character to receive the validation error.)
- See that the comments character limit shows that there are still usable characters left, but upon saving the form, the error pops up that 1000 character limit has been breached. Also the character counter text shows incorrect number of how many characters are left.
Cause
Resolution
Click on star to bookmark this article to receive updates about this issue. For more information about updates from subscribed KBAs, you can refer to the KB Article 2171560 - How to be notified of new or updated SAP Notes or KBAs.
Additional information
There is no impact when using bold, italics, bullets, or other rich text formatting. All HTML tags are removed before calculating the character length, so only the actual text is counted. However, due to the current bug, each line break (pressing Enter) is counted as one character.
The following six special characters currently cause inaccurate character counts.
The “Expected Length Count” column shows the correct behavior after the fix, while the “Current Length Count” column reflects the incorrect counts caused by the bug.
|
Character |
Escaped form |
Expected Length Count |
Current Length Count |
|
\n (line break) |
|
0 |
1 |
|
& |
& |
1 |
5 |
|
< |
< |
1 |
4 |
|
> |
> |
1 |
4 |
|
" |
" |
1 |
5 |
|
' |
' |
1 |
5 |
The language itself does not affect the character calculation, and there is no issue specific to Greek or other non-Latin scripts.
Each Greek or other non-Latin letter counts as exactly one character in the character limit calculation, the same as English letters.
The fix will be applied to all languages.
See Also
- SAP SuccessFactors Product Release & Road Map Information
- SAP SuccessFactors Patches Knowledge Base
- KB Article 2171560 - How to be notified of new or updated SAP Notes or KBAs
Keywords
SuccessFactors, SF, PMGM, Latest Form Experience, performance, issue, goal comment, item comment, character limit, breach, reach, incorrect, count, number, limitation, issue, problem, Enter 1 to 1,000 characters for Item Comments., PMU-26633, special character, &, length calculation, validation error , KBA , LOD-SF-PM-FF , Form Features, RTE, Spell Check, Legal Scan, Print , Known Error
SAP Knowledge Base Article - Public