Enable sanitization on individual fields
task brazil Updated Sep 10, 2026 1 min read t_EnSanitizIndFlds.md
You can use field attributes to enable or disable the sanitizer on individual fields.
Before you begin
Role required: admin
About this task
You need to first set the sanitizer property to false, and then enable the sanitizer on a per-field basis for any form.
Procedure
-
Navigate to the sys_properties table and set the glide.html.sanitize_all_fields to false.
This disables the sanitizer for all HTML fields in the system.
-
Navigate to the form that contains the HTML field.
-
Right-click the HTML field label, and select Configure Dictionary.
The Dictionary Entry form opens for the HTML field.
-
Enter one of the following in the Attributes field:
- To disable sanitization enter
html_sanitize=false - To enable sanitization enter
html_sanitize=true
- To disable sanitization enter
-
Click Update.
-
To enable the HTML sanitizer for translated HTML fields, set the glide.translated_html.sanitize_all_fields property is true.
46 lines · 1.4 KB
---
title: Enable sanitization on individual fields
description: You can use field attributes to enable or disable the sanitizer on individual fields.
locale: en-US
canonical_url: https://www.servicenow.com/docs/r/platform-security/t\_EnSanitizIndFlds.html
release: brazil
topic_type: task
last_updated: "2026-09-10"
reading_time_minutes: 1
breadcrumb: [Enabling HTML sanitizer, HTML sanitizer]
---
# Enable sanitization on individual fields
You can use field attributes to enable or disable the sanitizer on individual fields.
## Before you begin
Role required: admin
## About this task
You need to first set the sanitizer property to false, and then enable the sanitizer on a per-field basis for any form.
## Procedure
1. Navigate to the sys\_properties table and set the **glide.html.sanitize\_all\_fields** to **false**.
This disables the sanitizer for all HTML fields in the system.
2. Navigate to the form that contains the HTML field.
3. Right-click the HTML field label, and select **Configure Dictionary**.
The Dictionary Entry form opens for the HTML field.
4. Enter one of the following in the Attributes field:
- To disable sanitization enter `html_sanitize=false`
- To enable sanitization enter `html_sanitize=true`
5. Click **Update**.
6. To enable the HTML sanitizer for translated HTML fields, set the **glide.translated\_html.sanitize\_all\_fields** property is **true**.
| title | Enable sanitization on individual fields |
| description | You can use field attributes to enable or disable the sanitizer on individual fields. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/platform-security/t\_EnSanitizIndFlds.html |
| release | brazil |
| topic_type | task |
| last_updated | 2026-09-10 |
| reading_time_minutes | 1 |
| breadcrumb | Enabling HTML sanitizerHTML sanitizer |