Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

Single line showing as multi line

Dan Brown2
Kilo Sage

Hello,

I have got a String field Medium (100) that has been on a form for while, for some reason it is now showing as a mutli line box.   As far as I am aware nothing has been changed on this field.   I can't find a way to change it back.

On form station.PNG dictionary entry station.PNG

In the history of the field, there are 2 Audit Type updates.

Has anyone ever seen this type of behaviour/problem?

Cheers,

Dan

1 ACCEPTED SOLUTION

I had to go to HI to get this fixed. 

They changed the Max length from 100 to 101 and then back again.  Seemed to work.

There would be a chance of data loss - so my advice would be to speak to HI,

Dan

View solution in original post

12 REPLIES 12

Chris Leone
Tera Contributor

Configure dictionary for the field, and add attribute: is_multi_text=false

 

is_multi_text true/false String, Wiki, Field List

Chuck Tomasi
Tera Patron

Thanks for the info on is_multi_text=false! It lead to a really fun discussion on the community stream 2019-01-30.

https://youtube.com/user/servicenowcommunity

Ha thanks Chuck for all the coverage in yesterday's stream. Here's a bit more info from ServiceNow related to the occasional occurrence of a small string field appearing on the form with as a large string field (multi line)...  Please note, I was unable to read the PRB nor the KB, but you probably can since you're ServiceNow...

Solution Proposed:
After further research and testing, I have found you are running into PRB1239150. Unfortunately, the problem has been closed as a "won't fix". However, a solution has been given to resolve this issue.

Resolution: Open the dictionary record of the field and add the attribute "is_multi_text= false" to the record.

You can also refer to the known error article created as well:
KB0720553 - Single line string field is showing up as multi line on the form