Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This article will discuss on the implementation of Input Sanitization in Joget. The The purpose of sanitizing text field values is to protect against malicious input that could lead to security vulnerabilities or unintended behavior. In Joget, a sanitization option is available for the following following form element within the form:
1. Text Area

2. Text Field

3. Custom HTML

Info

The `Sanitize Input Value?` option will sanitize the input value before storing data to in the database. It will also un-escape it again when loading from form binder the data store to prevent double escape.

...

Drag the Text Area, Text Field, and Custom HTML to form

Figure 1: Drag the mentioned form elements 

Step 2

...

Create CRUD and test. Input the value of your choice into 3 of the form fields.

...

Figure 5: Runtime Result


Press edit on of the list row in Figure 5. The sanitized value of Custom HTML can be seen here.

...