You are here

Validation Rule Types

Validation Rule Types are described in this topic.

Validation Rule Types

The following section shows the validation rule types that are supported:

ID (prefixed with org.alfresco.client.validation) Description Parameters
mandatory Returns true if the field has a value  
numberRange Returns true if the field's value is within the given number range min, max
stringLength Returns true if the field's value is a string and has a minimum or maximum length min, max
regex Returns true if the field's value matches the given regex pattern pattern, negation
nodeName Returns true if the field's value is a valid name for a node in the repository  

Sending feedback to the Alfresco documentation team

You don't appear to have JavaScript enabled in your browser. With JavaScript enabled, you can provide feedback to us using our simple form. Here are some instructions on how to enable JavaScript in your web browser.