BACK TO DIRECTORY

Iran Phone Format For GForms

by hafezbahari

0.0
(0 ratings)

The Iran Phone Format for Gravity Forms plugin adds a new “Iran” option to the phone format settings within the Gravity Forms Phone field.
This plugin supports both Persian and English digits, automatically normalizing the input before validation to ensure accuracy.

Features:
– Adds an “Iran” phone format option to Gravity Forms.
– Uses Regex-based validation for mobile numbers starting with “09”.
– Automatically converts Persian digits to English before validation.
– Seamlessly works with both Persian and English numeric inputs.
– Features a translatable error message for easy localization.

Example of a valid number: 09123456789 or ۰۹۱۲۳۴۵۶۷۸۹

Video Demonstration

Screenshots

The new "Iran" phone format option in the Gravity Forms field settings.

The new "Iran" phone format option in the Gravity Forms field settings.

The error message displayed when an invalid number is entered.

The error message displayed when an invalid number is entered.

Plugin Details

Active Installs
20
Total Downloads
489
Version
1.0.4
Requires WP
5.0
Requires PHP
7.4
Tested Up To
6.9.7
Added
2025-10-26
Last Updated
2025-12-24 4:57am GMT

Ratings

5
0
4
0
3
0
2
0
1
0