DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

Validation Attributes

allowWhiteSpace

Property:
allowWhiteSpace
Data type:
boolean
Description:
If allowWhiteSpace = 1, whitespace is allowed in front of, after or between the characters.
Default:
0

element

Property:
element
Data type:
string
Description:
Name of the object. Normally the "filtered" name can be found in the HTML output between the square brackets like tx_form[name] where "name" is the name of the object.

error

Property:
error
Data type:
string/ cObject
Description:

Overriding the default text of the error message, describing the error.

When no cObject type is set, the message is a simple string. The value can directly be assigned to the message property. If one needs the functionality of cObjects, just define the message appropriately. Any cObject is allowed.

For more information about cObjects, take a look in the document TSREF.

Example:

error = TEXT
error {
  data = LLL:EXT:theme/Resources/Private/Language/Form/locallang.xlf:alphabeticError
}

Example:

error = The value contains not only alphabetic characters
Default:
Depends on the rule. Check over there.

message

Property:
message
Data type:
string/ cObject
Description:

Overriding the default text of the message, describing the rule.

When no cObject type is set, the message is a simple string. The value can directly be assigned to the message property. If one needs the functionality of cObjects, just define the message appropriately. Any cObject is allowed.

For more information about cObjects, take a look in the document TSREF.

Example:

message = TEXT
message {
  data = LLL:EXT:theme/Resources/Private/Language/Form/locallang.xlf:betweenMessage
}

Example:

message =  The value must be between %minimum and %maximum
Default:
Depends on the rule. Check over there.

showMessage

Property:
showMessage
Data type:
boolean
Description:
If showMessage = 0, a message describing the rule will not be added to the label of the object.
Default:
1