- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2024 08:58 AM - edited 12-05-2024 09:12 AM
Hi,
I would like to pre-fill an HTML field with a table for my users to complete. I've added the HTML code for the table in the "default value" tab, but the field remains empty. Could someone please provide step-by-step instructions on how to properly achieve this? I have also referred to the previous post below for reference.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2025 04:12 PM
Your approach is correct, adding the html code into the Default Value field of the dictionary entry should work; if it is failing, I advise scrubbing your html code until it works, then adding to it little by little until it breaks again. Start by using the simplest tags with no styling and see what happens.
This contributor's reply with images shows him adding an unordered list tag block with the desired result:
How to set default value in HTML field? - ServiceNow Community
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2025 04:12 PM
Your approach is correct, adding the html code into the Default Value field of the dictionary entry should work; if it is failing, I advise scrubbing your html code until it works, then adding to it little by little until it breaks again. Start by using the simplest tags with no styling and see what happens.
This contributor's reply with images shows him adding an unordered list tag block with the desired result:
How to set default value in HTML field? - ServiceNow Community
Hope this helps.