CustomFieldTextField

public struct CustomFieldTextField
extension CustomFieldTextField: Equatable

A textfield element which contains simple textfield or e-mail.

In case of e-mail, detectable with isEmail property, BE requires proper e-mail validation on the application side.

  • The unique key identifier for the SDK contact custom fields sendable via set(_:for:).

    Declaration

    Swift

    public let ident: String
  • The title/placeholder for the textfield.

    Declaration

    Swift

    public let label: String
  • The actual value of the field; if exists.

    Declaration

    Swift

    public let value: String?
  • Determines if element is a simple text field or e-mail.

    Declaration

    Swift

    public let isEmail: Bool

Equatable

  • Declaration

    Swift

    public static func == (lhs: CustomFieldTextField, rhs: CustomFieldTextField) -> Bool