Validation: Difference between revisions

From NSB App Studio
Jump to navigation Jump to search
Line 11: Line 11:


=== Turn on Validation ===
=== Turn on Validation ===
The first step is to add the Validation library to your project. Select "Project Properties and Global Code" in the Project Explorer, then Select Validation in the Toolbox.
[[File:Validation1.png|200px]]
[[File:Validation1.png|200px]]



Revision as of 19:53, 28 October 2018

The Validation library is an option you can add to your project which checks if the input fields on your are valid.

If a field is invalid, a message in red appears next to the field.

Validation doesn't kick in until you ask it to validate the form. This lets the operator input data undisturbed. As fields are corrected, the error messages disappear.

The intent of this Tech Note is to get you started using the Validation library. It has many options and features beyond what is documented here. We encourage you to read the full documentation. Here are a couple of useful documents:

Turn on Validation

The first step is to add the Validation library to your project. Select "Project Properties and Global Code" in the Project Explorer, then Select Validation in the Toolbox.

Create a Validation Module

Set up the Validation rules

Validate the form

Notes and Advanced Rules