A simple text field specifically for collecting the last four numbers of an American social security number with Gravity Forms. The text field includes HTML5 pattern attribute and basic validation to ensure 4 numbers are entered.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets
LICENSE.txt
README.md
README.txt
class-gf-field-ssn.php

README.md

Gravity Forms SSN Field

Contributors: cheffheid

Tags: forms

Requires at least: 3.8

Tested up to: 4.5

Stable tag: 1.0.0

License: GPLv2 or later

License URI: http://www.gnu.org/licenses/gpl-2.0.html

Description

A simple text field specifically for collecting the last four numbers of an American social security number with Gravity Forms. The text field includes HTML5 pattern attribute and basic validation to ensure 4 numbers are entered.

On the form, the field will display as: XXX-XX-[input]

Important: This data is not encrypted in any way. So handle with care.

Screenshots

  1. How the field is displayed on the front-end

How the field is displayed on the front-end

Installation

  1. Upload the gf-field-ssn folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Add the field to a Gravity Forms form!

Changelog

1.0

  • First release.