- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-05-2017 01:34 AM
HI All,
I'm just wondering if there is a way to limit the amount of space a string field will occupy on my form? I have a description field which permits 4000 characters, i don't want to reduce the number of characters but i want to limit the size the actual field is before it starts scrolling.
The image below shows a fully populated description field, is there a way to make it occupy half the space it currently does?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-05-2017 02:08 AM
Hi David
Yes it is working but i found that it depends on the Max length defined in the dictionary.
When i tried for the short_description which have max_length 160 , the style setting was working fine. When I applied the same settings for the description field which has length of 4000, style setting was not working.
-Harsh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-05-2017 01:43 AM
you may want to give a try in adjusting width and height in field styles.
http://wiki.servicenow.com/index.php?title=Defining_Field_Styles#Change_Width_of_a_Form_Field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-05-2017 01:44 AM
Hi David
you can set the style to change the width of the field. Right click on the field and then click on style. click on new and then create a new style.
you can put the style value as "width:0000"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-05-2017 01:50 AM
Is this still possible in UI15? According to the Wiki article the width is set automatically in UI14 and UI15. Styling like this is only applicable to UI11 and classic interfaces.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-05-2017 01:53 AM
working for me in UI 15