Title: Full State Name for Gravity Forms
Author: izzy goldman
Published: <strong>20 می 2026</strong>
Last modified: 20 می 2026

---

جستجوی افزونه‌ها

![](https://ps.w.org/full-state-name-for-gravity-forms/assets/banner-772x250.png?
rev=3539697)

![](https://ps.w.org/full-state-name-for-gravity-forms/assets/icon-256x256.png?rev
=3539697)

# Full State Name for Gravity Forms

 توسط [izzy goldman](https://profiles.wordpress.org/izzygld/)

[دانلود](https://downloads.wordpress.org/plugin/full-state-name-for-gravity-forms.1.0.2.zip)

 * [جزئیات](https://fa.wordpress.org/plugins/full-state-name-for-gravity-forms/#description)
 * [نقد و بررسی‌ها](https://fa.wordpress.org/plugins/full-state-name-for-gravity-forms/#reviews)
 *  [نصب](https://fa.wordpress.org/plugins/full-state-name-for-gravity-forms/#installation)
 * [توسعه](https://fa.wordpress.org/plugins/full-state-name-for-gravity-forms/#developers)

 [پشتیبانی](https://wordpress.org/support/plugin/full-state-name-for-gravity-forms/)

## توضیحات

**Full State Name for Gravity Forms** fixes an annoying inconsistency in Gravity
Forms: depending on the form, the add-on, and the code path, the Address field’s“
State / Province” sub-input (input X.4) sometimes resolves to a 2-letter abbreviation(“
NJ”) and sometimes to the full state name (“New Jersey”) when used in merge tags.

This causes real problems with:

 * Notification emails that read “Your shipment is going to NJ.”
 * `{all_fields}` output mixing full city names with state codes.
 * URL query strings that pre-populate another Gravity Form — the second form’s 
   state dropdown doesn’t match “NJ” against its option value of “New Jersey”, so
   the field stays blank.

#### The Solution

This plugin hooks into `gform_merge_tag_filter` and, **only when the merge tag targets
an Address field’s State sub-input (X.4) and the value is exactly a 2-letter code**,
expands it back to the full state name that Gravity Forms uses in its Address field
dropdown.

#### Key Features

 * **Targeted** — Only affects Address field State sub-inputs (X.4), nothing else
 * **Safe** — Only acts when the value is exactly two letters; existing full names
   and other text pass through untouched
 * **Zero Configuration** — Activate the plugin and the fix is live
 * **Filterable** — Override or extend the code-to-name map with the `fsn_gf_state_map`
   filter for non-US addresses or translated labels
 * **Filterable expansion** — Hook `fsn_gf_expanded_state_name` to customize the
   replacement on a per-field basis

#### Where It Applies

 * `{all_fields}` merge tag
 * `{Address (State / Province):X.4}` merge tag
 * Notifications, confirmations, and any place merge tags are processed
 * URL query strings built with merge tags (so the receiving form’s state dropdown
   picks the correct option)

#### Covered Codes

All US states (50), DC, US territories (PR, GU, VI, AS, MP), and military mailing
regions (AA, AE, AP) — a total of 59 entries that match the default Gravity Forms
Address state options exactly.

## عکس‌های صفحه

 * [[
 * Notification email rendering with the full state name (after activating this 
   plugin)

## نصب

 1. Upload the `full-state-name-for-gravity-forms` folder to `/wp-content/plugins/`
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. That’s it — merge tags that resolve to 2-letter state codes are now expanded automatically

No configuration pages or global settings needed.

## سوالات متداول

### Does this require Gravity Forms?

Yes. Gravity Forms 2.5 or higher must be installed and activated.

### Does this change how state values are stored in entries?

No. Stored entry data is untouched. The expansion only happens when the value is
being rendered through a merge tag.

### Will it break my notifications that already show full state names?

No. The plugin only acts when the value is exactly a 2-letter code. Anything longer(
including the full names you’re already seeing) passes through unchanged.

### I have a non-US address field. Can I add my own regions?

Yes — use the `fsn_gf_state_map` filter to merge in your own code-to-name pairs.

### Does this affect the value posted by the form itself?

No. It only filters merge tag output. The submitted value, validation, and storage
all behave exactly as Gravity Forms does by default.

## نقد و بررسی‌ها

نقد و بررسی‌ای برای این افزونه یافت نشد.

## توسعه دهندگان و همکاران

“Full State Name for Gravity Forms” نرم افزار متن باز است. افراد زیر در این افزونه
مشارکت کرده‌اند.

مشارکت کنندگان

 *   [ izzy goldman ](https://profiles.wordpress.org/izzygld/)

[ترجمه “Full State Name for Gravity Forms” به زبان شما.](https://translate.wordpress.org/projects/wp-plugins/full-state-name-for-gravity-forms)

### علاقه‌ مند به توسعه هستید؟

[Browse the code](https://plugins.trac.wordpress.org/browser/full-state-name-for-gravity-forms/),
check out the [SVN repository](https://plugins.svn.wordpress.org/full-state-name-for-gravity-forms/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/full-state-name-for-gravity-forms/)
by [RSS](https://plugins.trac.wordpress.org/log/full-state-name-for-gravity-forms/?limit=100&mode=stop_on_copy&format=rss).

## گزارش تغییرات

#### 1.0.2

 * Confirmed compatibility with WordPress 7.0
 * Sync internal `FSN_GF_VERSION` constant with plugin header version

#### 1.0.1

 * Maintenance release: housekeeping and deploy pipeline verification

#### 1.0.0

 * Initial release
 * Expands 2-letter state codes to full state names in `gform_merge_tag_filter` 
   for Address X.4 sub-inputs
 * `fsn_gf_state_map` filter to extend / override the code-to-name map
 * `fsn_gf_expanded_state_name` filter for per-replacement customization

## اطلاعات

 *  نگارش **1.0.2**
 *  Last updated **2 هفته پیش**
 *  نصب‌های فعال **کمتر از 10**
 *  نگارش وردپرس ** 5.8 یا بالاتر **
 *  Tested up to **7.0**
 *  نگارش PHP ** 7.4 یا بالاتر **
 *  زبان
 * [English (US)](https://wordpress.org/plugins/full-state-name-for-gravity-forms/)
 * Tags
 * [address field](https://fa.wordpress.org/plugins/tags/address-field/)[gravity forms](https://fa.wordpress.org/plugins/tags/gravity-forms/)
   [merge tags](https://fa.wordpress.org/plugins/tags/merge-tags/)[Notifications](https://fa.wordpress.org/plugins/tags/notifications/)
 *  [نمایش پیشرفته](https://fa.wordpress.org/plugins/full-state-name-for-gravity-forms/advanced/)

## امتیازها

هنوز هیچ نقدی ارسال نشده است.

[Your review](https://wordpress.org/support/plugin/full-state-name-for-gravity-forms/reviews/#new-post)

[مشاهده همه بررسی‌ها](https://wordpress.org/support/plugin/full-state-name-for-gravity-forms/reviews/)

## مشارکت کنندگان

 *   [ izzy goldman ](https://profiles.wordpress.org/izzygld/)

## پشتیبانی

چیزی برای گفتن دارید؟ نیاز به کمک دارید؟

 [مشاهده انجمن پشتیبانی](https://wordpress.org/support/plugin/full-state-name-for-gravity-forms/)

## کمک مالی

آیا تمایل دارید از پیشرفت این افزونه حمایت کنید؟

 [ کمک مالی به این افزونه ](https://github.com/izzygld)