FormReferenceObject.mandatory Method

Sets or returns a value that indicates whether the data field is mandatory.

Syntax

public boolean mandatory([boolean value])

Run On

Client

Parameters

  • value
    Type: boolean
    The value that is assigned to the mandatory property of the field.

Return Value

Type: boolean
true if the field is mandatory; otherwise, false.

See Also

Reference

FormReferenceObject Class