Skip to content
tomolimo edited this page Dec 17, 2019 · 16 revisions

Welcome to the Form Validation plugin wiki!

Purpose

To provide form validation in browsers in order to give users an immediate feedback on data input in the submitted form. This gives a better user experience and responsetime than giving back a form validation after having a complete submit of form to server.

Tutorial / Edit mode

You may start by here, as this tutorial will show you step by step how to add form validation to Computer creation form.

This mode provides a graphical interface to select the fields that need validation, and where to show the 'error sign' and where to show the 'mandatory sign'. Let's learn the use of the 'Edit mode' with a tutorial: Computer Validations

Configuration Overview

Internal functioning is based on a hierarchical definition:

  1. Pages
  2. Forms
  3. Fields

Default form validations

By default it adds several form validations:

  1. For itself: 😄
  2. For Tickets: Default Form Validation for Tickets

TODO

To be tested and adapted to FormCreator plugin (http://plugins.glpi-project.org/#/plugin/formcreator)

Clone this wiki locally