equals

Compares the submitted data of two FORM objects. If they are not equal, the rule does not validate.

The rule and error messages will be put in the label of the object the rule is attached with by the property “element”.

element

Description:
See general information for element.

error

Description:

See general information for error.

The %field marker will be replaces with the property “field”.

Default:
local language:”The value does not equal the value in field ‘%field’”

field

Property:
field
Data type:
string
Description:

The name of the object to compare with.

See explanation of “element” property.

message

Description:

See general information for message.

The %field marker will be replaces with the property “field”.

Default:
local language:”This field must be equal to ‘%field’”

showMessage

Description:
See general information for showMessage.

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