Gravity Perks
Gravity Connect
Gravity Shop
Snippet Library
Blog
Account
Introducing Gravity Connect
•
Save up to 40% for a limited time with coupon
GCLAUNCH
•
Learn More
Gravity Wiz
Gravity Perks
Gravity Perks
A suite of 47+ Gravity Forms addons
Product Details
Pricing
Documentation
Gravity Connect
Gravity Connect
Connect Gravity Forms to top-shelf services
Product Details
Pricing
Documentation
Gravity Shop
Gravity Shop
Bridging Gravity Forms & WooCommerce
Product Details
Pricing
Documentation
Snippet Library
Blog
Account
Log In
Support
Menu
Snippets
Unique ID
Snippet Library
/
Unique ID
php
Set Minimum Length for Numeric Unique ID
php
Creates Sequential IDs as per Date Field selected.
Make the sequence for a given Unique ID field specific to the date field value. The sequence will automatically generate...
php
Reset Sequence at Specific Threshold
Reset the sequence of a Sequential Unique ID field when the sequence reaches a specified number.
php
Populate Unique ID via Dynamic Population
Getting started: 1 - Copy and paste this code into your theme's functions.php file. 2 - Add a Single Line...
php
Creates Daily Sequential IDs
Make the sequence for a given Unique ID field specific to the current date. The sequence will automatically reset for...
php
Fill Gaps in Sequential Unique IDs
Use this snippet to automatically fill gaps in the sequence of unique IDs for Unique ID fields of the "Sequential"...
php
Exclude Unique ID Fields from Gravity PDF
Exclude Unique ID Fields, when using Gravity PDF together with GP Unique ID Perk.
php
Generate Unique ID when Entry is Duplicated using GFAPI.
When an entry is duplicated using GFAPI, the Unique ID value is copied to the duplicated entry. This snippet generates...
php
Get Current Sequence Value
php
Generate Unique ID when Entry is Duplicated in GravityView
Generates a new unique ID value for entries duplicated in GravityView.
php
Share a global sequential unique ID across all forms
Sets a global sequential unique ID across all forms on the website.
php
HyperDB Support for Sequential IDs
php
Generate New Unique ID on GravityView Edit
php
Generate Multiple Unique IDs per Submission (for Gravity Forms)
Generate multiple unique IDs per submission and store the IDs in another field.
php
Generate Unique ID from Input Mask
php
Populate Unique ID on Pre Submission (rather than Post Entry Creation)
Generate and populate the Unique ID on pre submission prior to the entry creation.
php
Retroactively Populate Unique IDs
Install snippet using instructions at https://gravitywiz.com/documentation/how-do-i-install-a-snippet/ Go to your home page and add the following parameters to the query string:...
php
Prevent Non-Unique Values on Edit
Redirect to a specified URL when the limit is reached (rather than displaying a limit message).
php
Unique Sequences by Nested Forms Parent Entry
php
Set Authorize.net Transaction Invoice Number
php
Sequence by Prefix
Create unique sequences based on the generated prefix. For example, if you have a Drop Down field where the user...
php
Unique ID as Site Address and Site Title
Validate Unique ID Field Used as Site Address and Site Title.
php
Shared Sequences
Share sequences between sequential Unique ID fields; works with fields on different forms as well. To use the snippet, replace...
php
Use Unique ID Field in Conditional Logic
php
Add Wait-for-payment Support for PayFast
Capture a payment made via PayFast before generating the Unique ID.
php
Unique ID as Username or Site Address
This snippet runs post-validation to allow User Registration feeds with a Unique ID field mapped as the username to still...
php
Creates Yearly Sequential IDs
Make the sequence for a given Unique ID field specific to the current year. The sequence will automatically reset each...