You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

The Text Field is the most basic field of the Dynamic Fields, it's meant to display plain text as it comes. It has an embedded email detection code that allows you to display emails with a different format in the UI.

TextField

ParameterTypeDefaultRequiredDescription
email_regexPatternSee info tipFalseRegular expression pattern for email validation (Excluded from documentation).
detect_emailboolFalseFalseFlag to indicate if email detection is enabled (Excluded from documentation).
joinstr', 'FalseJoining characters for email addresses.

Default value for email regex: "^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$"

_TextFieldUI

ParameterTypeDefaultRequiredDescription
typeDynamicFieldTypeTEXTTrueType of the dynamic field.
is_emailboolFalseFalseFlag to indicate if the field is an email.
use_ellipsesboolTrueFalseFlag to indicate whether to use ellipses.

Example Configuration

TextField(Label='Email', field='data.user.email', detect_email=True, use_ellipses=False)
  • No labels