Gutenberg - Form block: restrict phone field to numeric data #11459
Labels
[Feature] Contact Form
[Focus] Blocks
Issues related to the block editor, aka Gutenberg, and its extensions developed in Jetpack
[Pri] Low
[Type] Enhancement
Changes to an existing feature — removing, adding, or changing parts of it
We received a request in #1846407-zen to be able to restrict the phone field in the Form block to accept numeric data only.
I did mention in my reply that this may be partly due to the way country codes are expressed, e.g.
+1
,+44
rather than001
or0044
, but thought the request might be worth mentioning here.Would something like an (optional) drop-down menu to select country code, then a numeric-only field for the number work?
The text was updated successfully, but these errors were encountered: