FieldControlProperties.setRequired

Sets whether or not this is a required field. Required fields are displayed with an asterisk(*) to the right of the label text, and validation messages are issued automatically if data is not entered by the user.

Parameters

boolean  required,