Font Size:
Ask Joget AI

Form Input Sanitization

Introduction

This article explains how to implement input sanitization in Joget to safeguard against malicious inputs that could lead to security risks or unpredictable behavior. In Joget, you can sanitize input values for the following form elements:

  1. Text Area
  2. Text Field
Using the Sanitize Input Value? option ensures that input values are sanitized before being stored in the database and correctly unescaped when retrieved, preventing double escape issues. To incorporate this security feature into your Joget forms, follow these detailed steps:

How does it work?

  1. Drag the Text Area and Text Field elements onto your form.
  2. For each form element, go to advanced options and check the Sanitize Input Value? option to activate input sanitization.
  3. Develop CRUD (Create, Read, Update, Delete) functionality and test it by entering values of your choice into the three form fields.
  4. Observe the Results:
  • List Display: The sanitized values will appear as plain text in the list.
  • Database: The text area and text field values are stored in a sanitized format.

Download sample app

Download the demo app for Form Input Sanitization:

This guide provides a comprehensive approach to securely handling input in Joget forms, ensuring data integrity and protection from potential threats.

Created by Aadrian Last modified by Siti Noratiqah on Apr 28, 2026