Phone

Allows users to submit a phone number.

Allows users to submit 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{}
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