ameotoko/form-phone-intl
最新稳定版本:v1.1.1
Composer 安装命令:
composer require ameotoko/form-phone-intl
包简介
A phone number widget for Contao CMS
README 文档
README
This Contao CMS extension provides a new "Phone number" field to use in the form generator. The widget uses popular jackocnr/intl-tel-input library and requires Javascript to function.
Features:
- Allows users to select a country code from configurable dropdown list instead of typing dial code (e.g.
+49) - Allows users to type in phone numbers in local formats (e.g.
01512 34567890or(0) 151 23456789) - Converts phone numbers to international format (E.164) automatically, allowing
for consistent storage or further processing (i.e. both previous examples will be stored as
+4915123456789automatically) - Displays an example for selected country as a placeholder
The list of countries can be configured to exclude certain countries or show only explicitly selected countries. You can also set "Preferred countries" to be shown on top of the list.
Location detection (optional)
The widget is able to query IPInfo database and determine user's location based on their IP address. Sign up for a free account at IPInfo to obtain your access token, then paste it in the "IPInfo access token" field.
统计信息
- 总下载量: 144
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: LGPL-3.0-or-later
- 更新时间: 2022-07-14
