Orbeon Forms
Search
⌃K
Getting started
Installation
Configuration
Form Builder
Form Runner
Overview
Components
Alert dialog
Attachment
Autocomplete
Captcha
Character counter
Checkbox input
Currency
Date
Dropdown date
Static and dynamic dropdown
Error summary
Grid
Handwritten signature
Hidden field
Image
Image annotation
Image attachment
Number
Open selection
Repeater
Rich text editor
Section
Single-selection tree
Source code editor
Time
US phone
US state
Wizard
XForms inspector
Yes/No answer
Features
Persistence
Linking and embedding
Access control and permissions
Styling
APIs
Advanced
XForms
XML Platform
FAQ
Contributors
Release notes
Use cases
Index of features
Release history
Product roadmap
Powered By GitBook

US phone

What it does

This component represents an US phone number. It:
  • validates the stored format to make sure it contains exactly 10 digits.
  • removes all ()*-[].#/'': characters from the input string before storing the value.
  • formats the value as (123) 456-7890 when displaying the value, but only if the stored value is only made of digits.
Previous
Time
Next
US state
Copy link