Adds a specialized tel FieldType to ExpressionEngine, designed for handling phone number inputs with validation and formatting support. It integrates with Channel Entries and works in both Grid and Fluid fields.
Summary
Feature |
Details |
Purpose |
Add and validate phone number inputs in EE via a FieldType |
FieldType |
tel , with built-in validation for E.164 standard |
Output Modifiers |
:tel , :e164 , :format , :e164:tel for clickable links |
Template Formatting Tag |
{exp:tel:format number=""} |
Compatibility |
Members, Channel Entries, Grid, Fluid fields |
Typical Use Cases
User Profiles & Contact Forms
- Perfect for fields where users enter phone numbers. Ensures consistency, validation, and mobile-friendly click-to-call links.
Directory Listings
- Display professional or business contact numbers uniformly, with proper formatting and link functionality built-in.
Multi-Field Usage
- Due to its compatibility with Member, Entry, Grid, and Fluid fields, Telephone is flexible enough for use in nested content blocks or flexible layouts.
Features
Field Type: tel
- A dedicated phone input field that ensures user-entered values adhere to the E.164 (E64) standard for international telephone formatting.
Output Formatting Variations
For the tel field in your templates, you get flexible output options:
{FIELD_NAME:tel}
- raw telephone input
{FIELD_NAME:e164}
or {FIELD_NAME:format}
— outputs a nicely formatted number, e.g. (XXX) XXX-XXXX
{FIELD_NAME:e164:tel}
- outputs the number and wraps it as a clickable telephone link
Template Tag for Ad-Hoc Formatting
- Outside of channel entries, you can still format numbers using a template tag:
How It Helps
Data Consistency & Validation
- Reduces formatting errors and ensures phone numbers meet international standards.
Enhanced UX
- Click-to-call links provide a seamless experience for mobile users or anyone with supported devices.
Flexible Output
- Multiple formatting options and ad-hoc formatting tools make it versatile for a wide range of template scenarios.
Yup! Telephone works with both ExpressionEngine Entries as well as Members!