Title: Iran Phone Format For GForms
Author: hafezbahari
Published: <strong>26 oktober 2025</strong>
Last modified: 24 december 2025

---

Plugins zoeken

![](https://ps.w.org/iran-phone-format-for-gforms/assets/banner-772×250.png?rev=
3384688)

![](https://s.w.org/plugins/geopattern-icon/iran-phone-format-for-gforms_001c42.
svg)

# Iran Phone Format For GForms

 Door [hafezbahari](https://profiles.wordpress.org/hafezbahari/)

[Download](https://downloads.wordpress.org/plugin/iran-phone-format-for-gforms.1.0.4.zip)

 * [Details](https://nl.wordpress.org/plugins/iran-phone-format-for-gforms/#description)
 * [Beoordelingen](https://nl.wordpress.org/plugins/iran-phone-format-for-gforms/#reviews)
 *  [Installatie](https://nl.wordpress.org/plugins/iran-phone-format-for-gforms/#installation)
 * [Ontwikkeling](https://nl.wordpress.org/plugins/iran-phone-format-for-gforms/#developers)

 [Ondersteuning](https://wordpress.org/support/plugin/iran-phone-format-for-gforms/)

## Beschrijving

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

## Schermafbeeldingen

[⌊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 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.⌉[

The error message displayed when an invalid number is entered.

## Installatie

 1. Upload the plugin files to the `/wp-content/plugins/iran-phone-format-for-gforms/`
    directory, or install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress.
 3. Edit your desired form in Gravity Forms, add a ‘Phone’ field, and set its ‘Phone
    Format’ to ‘Iran’.
 4. Save the form and test it by entering a valid Iranian mobile number.

## FAQ

### Does this plugin work without Gravity Forms?

No, this plugin is an add-on for Gravity Forms and requires it to be installed and
activated.

### Can the error message be changed?

Yes, the error message is defined using the `__()` function, making it fully translatable
through standard WordPress methods.

### Does it support Persian digits?

Yes, the plugin automatically converts Persian digits to their English equivalents
before performing validation.

## Beoordelingen

Er zijn geen beoordelingen voor deze plugin.

## Bijdragers & ontwikkelaars

“Iran Phone Format For GForms” is open source software. De volgende personen hebben
bijgedragen aan deze plugin.

Bijdragers

 *   [ hafezbahari ](https://profiles.wordpress.org/hafezbahari/)
 *   [ mrnargil ](https://profiles.wordpress.org/mrnargil/)

[Vertaal “Iran Phone Format For GForms” in je eigen taal.](https://translate.wordpress.org/projects/wp-plugins/iran-phone-format-for-gforms)

### Interesse in ontwikkeling?

[Bekijk de code](https://plugins.trac.wordpress.org/browser/iran-phone-format-for-gforms/),
haal de [SVN repository](https://plugins.svn.wordpress.org/iran-phone-format-for-gforms/)
op, of abonneer je op het [ontwikkellog](https://plugins.trac.wordpress.org/log/iran-phone-format-for-gforms/)
via [RSS](https://plugins.trac.wordpress.org/log/iran-phone-format-for-gforms/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.4

Tested to WordPress v6.9

#### 1.0.3

This is a recommended security and stability update. All functions have been prefixed
to prevent potential conflicts with other plugins.

#### 1.0.2

IMPROVEMENT: Prefixed all functions with `ipffg_` to prevent conflicts with other
plugins, following WordPress coding standards.

#### 1.0.1

Readme.txt file Added.

#### 1.0.0

 * Initial release.
 * Added Iran phone number format to Gravity Forms.
 * Implemented support for both Persian and English digits.
 * Included Regex-based validation.

## Meta

 *  Versie **1.0.4**
 *  Laatst geüpdatet **11 maanden geleden**
 *  Actieve installaties **20+**
 *  WordPress versie ** 5.0 of nieuwer **
 *  Getest t/m **6.9.11**
 *  PHP versie ** 7.4 of nieuwer **
 *  Taal
 * [English (US)](https://wordpress.org/plugins/iran-phone-format-for-gforms/)
 * Tags
 * [GravityForms](https://nl.wordpress.org/plugins/tags/gravityforms/)[گرویتی فرم](https://nl.wordpress.org/plugins/tags/%da%af%d8%b1%d9%88%db%8c%d8%aa%db%8c-%d9%81%d8%b1%d9%85/)
 *  [Geavanceerde weergave](https://nl.wordpress.org/plugins/iran-phone-format-for-gforms/advanced/)

## Waarderingen

Er zijn nog geen beoordelingen ingediend.

[Je beoordeling](https://wordpress.org/support/plugin/iran-phone-format-for-gforms/reviews/#new-post)

[Bekijk alle beoordelingen](https://wordpress.org/support/plugin/iran-phone-format-for-gforms/reviews/)

## Bijdragers

 *   [ hafezbahari ](https://profiles.wordpress.org/hafezbahari/)
 *   [ mrnargil ](https://profiles.wordpress.org/mrnargil/)

## Ondersteuning

Iets te melden? Hulp nodig?

 [Het supportforum bekijken](https://wordpress.org/support/plugin/iran-phone-format-for-gforms/)