formTextElement

Configures read-only text in form elements.

Referenced by: formGroupElement, formInfo

Properties

Property Details
text String value indicating the text to be displayed within the formTextElement.
textFormat Defines language of text property. Default is plain-text.
Valid values:
  • markdown
  • plain-text
type String value indicating which type of element to use. Valid value of this property is text.
Valid value of this property text
visibilityExpression A reference to an Arcade expression that returns a boolean value. When this expression evaluates to true, the element is displayed. When the expression evaluates to false the element is not displayed. If no expression is provided, the default behavior is that the element is displayed.

Example

{
  "textFormat": "markdown",
  "text": "### Some **descriptive text** to include in the form.",
  "type": "text",
  "visibilityExpression": "expr/system/true"
}

Example

{
  "textFormat": "plain-text",
  "text": "Last inspection maximum was {expr/maxPSI}.",
  "type": "text",
  "visibilityExpression": "expr/system/true"
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close