# \#postal-code

**URL:** https://community.gravityforms.com/tag/postal-code/1064.md

[Latest](https://community.gravityforms.com/latest.md) · [Categories](https://community.gravityforms.com/categories.md) · [Tags](https://community.gravityforms.com/tags.md)

---

## [Postal Code Validation - Canada only](https://community.gravityforms.com/t/postal-code-validation-canada-only/18189)

<div class="topic-metadata">

**Author:** [@user5a21b0238cbd02.7](https://community.gravityforms.com/u/user5a21b0238cbd02.7)\
**Replies:** 2\
**Last updated:** [September 16, 2024, 3:07pm UTC](https://community.gravityforms.com/t/postal-code-validation-canada-only/18189 "2024-09-16T15:07:24Z")

</div>

Hi! I’m looking to validate a postal code field for Canadian postal codes. I see this post about validating a field here Zipcode validation for Gravity Forms (5 digits, 2 approaches). · GitHub , however this looks to be…

---

## [How to split down text entered in a postcode entry](https://community.gravityforms.com/t/how-to-split-down-text-entered-in-a-postcode-entry/10709)

<div class="topic-metadata">

**Author:** [@danhardy](https://community.gravityforms.com/u/danhardy)\
**Replies:** 0\
**Last updated:** [September 8, 2021, 10:33am UTC](https://community.gravityforms.com/t/how-to-split-down-text-entered-in-a-postcode-entry/10709 "2021-09-08T10:33:26Z")

</div>

Hi All, in gravity forms is there a way to have a single line field which shows the first part of a postcode entry (Before the space). Currently I use a single line field with custom input mask set at \*\*\*\* but it ignore…

---

## [Address Zip/postal code Mask](https://community.gravityforms.com/t/address-zip-postal-code-mask/7181)

<div class="topic-metadata">

**Author:** [@phukit](https://community.gravityforms.com/u/phukit)\
**Replies:** 3\
**Last updated:** [December 21, 2020, 1:35pm UTC](https://community.gravityforms.com/t/address-zip-postal-code-mask/7181 "2020-12-21T13:35:29Z")

</div>

Hi, I can’t seem to find any information on this, so I thought maybe someone can help me here. I am looking to add a mask to the postal code field. I have tried this code but it doesn’t work or needs further modificat…
