Change the default "size" / height of HTML field on form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2020 11:37 PM
Hi Community,
We have an issue on our Change Request form where we have introduced a custom field (HTML type) and when the form loads, the HTML field needs to be expanded to show all of the content in the "default" value.
Any Guru able to shed some light on how to adjust the default size / height of the HTML form field so the content shows?
I am aware of the user options 1 and 2 below once the form loads - however I am chasing a more permanent fix for all users rather than a record by record once it is loaded.
Would appreciate any assistance / guidance 😄
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2020 11:52 PM
Hi,
see if this helps
Automatically adjust the height of text area to fit contents
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2021 10:30 PM
Configure Dictionary for the HTML field
Click Advance View
Set Attribute as "editor.height=250"
Update and reload form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2021 03:32 PM
Thanks. This worked for me to resize the rich description field in the HR Case form.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2021 11:49 PM
Create a record in sys_ui_style Table for rich_description field (here the HTML field is rich_description) with style as "height:100%". It worked both for active and inactive cases. Thank You.