Interface for a String attribute.

Hierarchy

Implements

Constructors

Properties

Name: string

Accessors

  • get Value(): string
  • Gets the value.

    Returns string

    The value.

  • set Value(value): void
  • Parameters

    • value: string

    Returns void

Methods

  • Gets maximum length allowed.

    Returns number

    The maximum length allowed.

    Remarks

    The email form's "Description" attribute does not have the this method.

  • Clears the notification identified by uniqueId.

    Parameters

    • uniqueId: string

      (Optional) Unique identifier.

    Returns TextField

    true if it succeeds, false if it fails.

    Remarks

    If the uniqueId parameter is not used, the current notification shown will be removed.

  • Sets a control-local notification message.

    Parameters

    • message: string

      The message.

    • uniqueId: string

      Unique identifier.

    Returns TextField

    true if it succeeds, false if it fails.

    Remarks

    When this method is used on Microsoft Dynamics CRM for tablets a red "X" icon appears next to the control. Tapping on the icon will display the message.

  • Sets the value.

    Parameters

    • value: any

      The value.

    Returns void

    Remarks

    A String field with the email format enforces email address formatting. Attributes on Quick Create Forms will not save values set with this method.

Generated using TypeDoc