Show TOC Start of Content Area

Function documentation Validation of User Entries  Locate the document in its SAP Library structure

Use

When users choose the Save function in Edit forms, the system carries out various checks. If entries are incomplete or invalid, the system prevents the user from saving the data and prompts him or her to correct the incorrect entries. The user can only save the contents of the form when all errors have been corrected.

 

Prerequisites

The input controls have references to schema elements or document properties.

 

Features

The system carries out the following checks:

·        Mandatory Fields

The system checks whether all mandatory fields contain data.

 

·        Data Types

The system checks the format of entered data (for example, for the data type URL).

In the case of some data types, the system also checks that relevant items exist (for example, for the data type User).

For more information, see Data Types of Schema Elements and Data Types of Document Properties.

 

·        Data Lengths and Patterns

You can define the minimum and maximum data length for schema elements of the type String and you can use patterns to restrict the valid value set (see Data Lengths and Patterns).

 

Activities

To make an entry field into a mandatory field, set the control property Mandatory to Yes.

If you want the content of an input field to be validated against a data type, ensure that the referenced schema element or document property has the correct data type. You set the data types of schema elements in the XML Forms Builder on the tab page Type. You set the data types of document properties in the configuration.

Make settings for troubleshooting.

See also:

Handling of Incorrect User Entries

 

 

End of Content Area