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.

required

Checks if the submitted value exists and is not empty.

0 or "0" are allowed and the rule will return true.

element

Description:
See general information for element.

error

Description:
See general information for error.
Default:
local language:"This field is required"

message

Description:
See general information for message.
Default:
local language:"Required"

showMessage

Description:
See general information for showMessage.

[tsref:(cObject).FORM->rules.required]