Contact Options Object

The “Contact” type parameter is one of the components that produces object type output value. It also provides some out-of-the-box validation, such as checking for mandatory fields and enforcing proper email and phone number values, contributing to elaborate data collection.

The value type is object.

Field
Type

name

string

The label of the widget.

Example: Buyer contact

hintText

string

Provides help text describing what value is expected in control.

Example: Define buyer contact

defaultValue

One of:

none buyer licensee currentlySignedInUser

(optional) Default value.

Example: Buyer

phoneMandatory

bool

(optional) Phone number field is optional by default, this control allows vendor to make it a mandatory field.

Example

{
  "name": "Seller contact",
  "hintText": "Provide seller contact",
  "defaultValue": "Seller",
  "phoneMandatory": true
}

Value Fields

Field
Type
Description

firstName

string

First name of the contact.

Example: John

lastName

string

Last name of the contact.

Example: Doe

email

string

Email address of the contact.

Example: [email protected]

phone

phone

Phone number with international code.

Example:

Value Example

Last updated

Was this helpful?