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
-
Click Update.
-
To enable the HTML sanitizer for translated HTML fields, set the
glide.translated_html.sanitize_all_fields property is
true.