Phone

Enter a phone number.

Enter a phone number.

Block metadata

FieldValue
Namexp/form-field-phone
TitlePhone
Categoryxpac-form-generic-field
API version3
Keywordsxpac, form, field, phone
Packageforms
Metadata filedist/packages/forms/blocks/phone/block.json

Supports

FeatureValue
classNameDisabled

Attributes

NameTypeDefaultSource/Enum
additionalAttributesobject{}—
countriesarray[]—
defaultCountrystring""—
descriptionstring""source html; selector .xp-block-form-field__description
idstring""—
labelstring"Untitled"—
labelVisibilitystring"visible"enum "visible", "hidden"
maskstring""—
namestring""—
placeholderstring""—
rulesobject{"required":{"value":false,"message":""}}—

On this page