Show Field label in one line

Mahendra RC
Mega Sage

Hi All,

I have created an table with some field and buttons. My table form is working fine w.r.t functionality but I need to make one change as per the Inputs received from Customer. 

On my form there are some field whose names are long and hence the Field label is showing up in two line instead of showing in one line. Please refer the below screenshot: (this is on table form and not on any UI Page)

find_real_file.png

Can anyone please help me to know, how can I show the label for this field in one line. I need urgent help on this.

Thanks in Advance,

Mahendra

4 REPLIES 4

Harish KM
Kilo Patron
Kilo Patron

You can use field style like below

 

<font size=4 ><i>This is large green italicised label text</i></font>

find_real_file.png

find_real_file.png

Regards
Harish

Hi Harish,

Thanks for the reply, but I don't won't to change the style of the Field Label. I mean don't want to reduce the font-size for the Field.

However in above example you are using 1-column form layout and on my form I am using 2-column layout that's why I was getting the Field name wrapped in 2 line.

Field styles are used to change the style for the field value and not field label. I tried to use the Field Style but it don't work.

 

Thanks

 

Dave Smith1
ServiceNow Employee
ServiceNow Employee

This is expected behaviour if the screen is narrowed and the field wraps - if you widen the browser you'll see the long text unwrap.

But it's better to pick smaller, more meaningful field names and not lengthy ones that cause users to read more to understand the purpose of that field. 

I know that sounds like changing the data to suit the purpose (which isn't always good) and won't work with languages that have quite lengthy words in them, but you may want to consider: is that label actually useful?  Are all those words necessary?  Won't "Template" suffice?

Hi Smith,

Thanks for your response

I using 2-column form layout and hence since the name is longer in length it is getting wrapped in 2 line, even when I don't narrow the screen. I am not reducing my screen size. 

There are some other fields as well with long label and reducing the field label is not possible for all. If we only mention "Template" as field label then user will not know what data user needs to put in the field and also we cannot make user to look in hint everytime before inserting the data in field.

Alert Template Common Name specifies more information that user need to enter Alert Template Commonname.

Thanks,