Multi-Line String Field Problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-23-2023 12:08 PM
We have added another multi-line text field on a form. I noticed that the developer used String UTF instead of just String on this one, and we are getting odd behavior that I am having trouble even searching out the correct keywords for. The field starts off fine when blank, but it seems to pad with several empty lines and when we use the REMOVE LINES button and save, it does not actually do anything and loads them padded spaces back.
That field starts out maybe 3 lines deep. We add that one line of text and SAVE and it looks fine. REFRESH the page or otherwise leave and come back though, and it has all this extra space suddenly. Clicking the reduce space works until you refresh, and same problem.
Is this because it is StringUTF instead of String? How to fix this, if its fixable?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-30-2023 07:38 AM
Hi @jlaps,
Here are few things you might to want to check on.
- Attribute: Open the dictionary record of the field and add the attribute "is_multi_text= false" to the record.
- Max Length: Navigate to the dictionary entry of the record and check if there is any max length defined.
- If the above things don't work, try changing the field type to String from String UTF and then add the above mentioned attribute.
Check out the below KB article which is similar to your issue.
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0690810
If you feel that I have assisted you in any manner, please mark my comment as helpful/correct.
Thanks,
Shreya