OBJECT

FieldValidator

link GraphQL Schema definition

  • type FieldValidator {
  • # When true, the field must be filled in.
  • required: Boolean
  • # When true, the field is required only while its own step is the active step of a
  • # multi-step form.
  • requiredOnlyOnCurrentStep: Boolean
  • # Minimum accepted value — a number or ISO date depending on the field type.
  • minValue: String
  • # Maximum accepted value — a number or ISO date depending on the field type.
  • maxValue: String
  • # Conditional formula that must evaluate to true for the value to be accepted.
  • formula: FormulaValidator
  • # When true, the value must be a valid email address.
  • isEmail: Boolean
  • # When true, the value must be a valid URL.
  • isUrl: Boolean
  • # Key grouping this field with others, of which at least one must be filled in.
  • requiredCombined: String
  • # Minimum number of selections required for a multi-select field.
  • requiredMinItems: Int
  • # When true, the relation must point to a parent-account relationship.
  • isParentAccountRelationType: Boolean
  • # When true, the field accepts a date range rather than a single date.
  • isDaterange: Boolean
  • # Allowed integer-valued options, as name/value pairs.
  • intEnum: [IntEnumItem]
  • # Allowed bit-flag options, as name/value pairs.
  • flagEnum: [IntEnumItem]
  • # When true, an empty value is explicitly allowed.
  • nullable: Boolean
  • # When true, exactly one field in the combined group must be filled in.
  • requiredExactlyOne: Boolean
  • }

link Require by