Must-Field

Learn about Must-Field attribute.

Use this attribute for Search and Details controls to determine that a field is mandatory (and must not be empty). For Details controls in Edit mode, the Must-Field attribute can be set separately for New and Update mode.

For fields defined as mandatory in the data model (field property "must") or via the access rights definition you do not need to set the Must-Field field attribute.

Note: To ensure consistent behavior across all clients, update recommends defining mandatory fields via the access rights definition in the Aurea CRM win Rights module.

When defining mandatory fields in the Aurea CRM win Rights module (Fields column):

  • Check Deny Deletion to define a field as mandatory when in Edit/Update mode.
    Note: If the value of a field (on a Details control) with Deny Deletion is deleted, a message is displayed. In List controls the original value is restored upon saving the record and no message is displayed.
  • Check Mand. Field to define a field as mandatory when in Edit/New mode.

Concerning mandatory fields on Details controls:

  • If the mandatory field is part of a group, the group is expanded on save.
  • Mandatory fields are not highlighted when in View mode.
  • The names of tabs in Details controls containing mandatory fields are highlighted as bold *. The tab is activated on save if no value was entered.

    To customize the formatting of tab labels, change the settings for class .u8-tabs-item-must.u8-tabs-item in the tabs.css (located in ..\styles\update\base).

  • Per default, an asterisk (*) is displayed in front of the label of a mandatory field, and an exclamation mark (!) is displayed in front of the label of a field that must not be deleted.

    The characters used for indicating mandatory field and fields with deny deletion (* and !) are defined in texts number 4 and 5 of the text group common_text. For further details, see Texts.

    If you want to display another character or string for mandatory fields, you just need to modify these texts in your configuration.

    To customize the formatting of must field labels, change the settings for class .u8-fields-must in the expand.css file (located in ..\styles\update\crm\widgets).