OBJECT

FormField

link GraphQL Schema definition

  • type FormField implements FormContainerItemInterface {
  • # Kind of column item — a placed field or an embedded web resource.
  • kind: FormContainerItemKind!
  • # Id of the field placed on the form.
  • id: String!
  • # When true, the field is shown in the mobile app.
  • onMobile: Boolean
  • # When true, the field is displayed but cannot be edited.
  • readonly: Boolean
  • # Label shown for the field on the form.
  • label: String!
  • # When true, the label uses the workspace's translated language strings.
  • useLang: Boolean
  • # Optional help text shown with the field.
  • description: String
  • # Validation rules applied to the field's value (required, min/max, formula, …).
  • validators: FieldValidator
  • # When true, the sub-label uses the workspace's translated language strings.
  • subLabelUseLang: Boolean
  • # Secondary label shown beneath the field's main label.
  • subLabel: String
  • # When true, a foreign-currency field also shows its fixed base-currency value.
  • showFixedValue: Boolean
  • # For dropdowns, how a value is pre-selected — none, the first option, or only
  • # when a single option exists.
  • dropdownAutoselect: DropDownAutoselectEnum
  • # For a product-list field, the product sections used to group products.
  • productSections: [ProductSection!]
  • # When true, the field is shown in the email add-in.
  • inAddin: Boolean
  • # For a lookup field, how linked records are shown — a multi-selection list or
  • # cards.
  • lookupVisualization: LookupVisualizationType
  • # When true, the opportunity value is calculated from its products by default.
  • opptyValueAutoCalculateDefault: Boolean
  • # Read-only label resolved into the current user's language.
  • labelTranslated: String
  • # Per-language overrides for the field label.
  • labelTranslations: JSONString
  • # Read-only help text resolved into the current user's language.
  • descriptionTranslated: String
  • # Per-language overrides for the field help text.
  • descriptionTranslations: JSONString
  • # Condition under which the field becomes read-only.
  • readonlyRules: FieldFilter
  • # Condition under which the field becomes required.
  • requiredRules: FieldFilter
  • # Condition under which the field is shown.
  • visibilityRules: FieldFilter
  • # For a linked-items field, the entity types whose records may be linked.
  • allowedEntities: [String!]
  • }

link Require by

This element is not required by anyone