viaSocket Help

HTML Field


#

What is an HTML Field?

An HTML Field is used when users need to enter formatted content using HTML.

This is commonly used for things like:

  • email templates,

  • styled messages,

  • rich text content,

  • or custom webpage content.


#

When to use an HTML Field?

Use an HTML Field when the content needs formatting such as:

Use Case

Example

Email Body

Marketing email template

Rich Message

Styled notification message

Web Content

Custom HTML section

Signature Template

Formatted email signature


#

How to configure an HTML Field?

#

Step 1 - Configure the Field

Fill in the field details:

Property

Value

Example

Type

html

html

Label

Field name (what the users see)

Signature Template

Key

API parameter name (what the API reads)

signature_template

Required

Makes the field mandatory

Yes / No

Placeholder

Example HTML content shown inside the field

<h1>Hello World</h1>

Help

Text displayed on hover for user guidance

Enter the HTML code for the signature template

[
  {
    "key": "signature_template",
    "type": "html",
    "label": "Signature Template",
    "help": "Enter the HTML code for the signature template",
    "required": true,
    "placeholder": "<h1>Hello World</h1>"
  }
]

Additionally, attributes like defaultValue, visibilityCondition can be used as per need and requirement.

#

Step 2 - Save the Field

Click anywhere outside the field settings panel to automatically save the field.