Skip to main content
Short text string custom database field.

Constructors

NSFieldInfoShortText()

Initializes a new instance of the NSFieldInfoShortText class.

Methods

GetChoices()

Returns: CRMScript.Global.String[] - List of items to choose from. Null = not a dropdown list.

GetDefaultValue()

Returns: CRMScript.Global.String - Default string value. Example:

GetFormatMask()

Returns: CRMScript.Global.String - Formatting mask, can be whatever the controls understand (currently nothing). Example:

GetIsHtml()

Returns: CRMScript.Global.Bool - Do not escape HTML in field when displaying contents. Example:

GetTextLength()

Returns: CRMScript.Global.Integer - Length (in characters) of a text field, 0 for other types. Example:

SetChoices(String[])

Returns: CRMScript.Global.Void

SetDefaultValue(String)

Returns: CRMScript.Global.Void Example:

SetFormatMask(String)

Returns: CRMScript.Global.Void Example:

SetIsHtml(Bool)

Returns: CRMScript.Global.Void Example:

SetTextLength(Integer)

Returns: CRMScript.Global.Void Example: