
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-12-2018 10:17 AM
Hello!
I am currently creating a website form for our business on our service portal for Website change requests, upgrade requests and for when something is broken.
One of the requirements was to show some help text if the selection was on "Something is Broken." I have done this with a Catalog UI policy and a multi-line text box which is set to "view only"
In the self-service and with the "Try it" buttons on our developer instance, this works fine. However, on our Service Portal (instance.service-now.com/sp), the text box doesn't expand to show the entire text and instead adds a scrollbar (see "Current State")
Where can I edit this to change the box to be 115px in height when it appears? I was able to make it work when editing the elements in the F12 console, but do not know where this is editable from SNOW (see "Desired State")
Current State:
Desired State:
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-24-2018 06:10 AM
This code was not doing it for me, unfortunately. I tried changing from onLoad to onChange, added the "sp_formfield_IO:" to it and nothing would expand the box 😞
I ended up changing my field from a text box to a label with help text and added some <br> tags in to space out my message and it ended up turning out pretty nice.
Thanks for all of the help Pedro!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-12-2018 04:09 PM
Hi Matt,
Can you share the HTML code, please? Basically, by adding the height in the style should work. But I just want to see how you are getting the HTML element.
Regards,
Pedro Lopez

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-13-2018 06:10 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-13-2018 02:01 PM
Hi Matt,
You can do it from an Script. If you see, the <textarea> has an ID, please copy it and use this code:
document.getElementById(ID HERE).style.height = '114px';
Hope this helps,
Pedro Lopez

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-16-2018 11:32 AM