Assign validator

To ensure that only specific or permitted values are included in the database, you can assign a validator to an attribute.

Location

XML file in the xml folder

Procedure

  1. Add a new <validate> element as a child element of the attribute.
  2. Specify a registered validator as a name.

Documents

vcreg.xml, vcreg.xsd

Example

ModifyObject_AddSimpleAttribute

\WEB-INF\config\custom\xml\custom.xml: Add Simple Attribute