Gravity Perks
Gravity Connect
Gravity Shop
Snippet Library
Blog
Account
Black Magic
Black Friday Sale
•
Basic
10%
,
Advanced
25%
,
Pro
50%
off
•
Starts Monday, Nov 25th
Gravity Wiz
Gravity Perks
Gravity Perks
A suite of 46+ 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
Easy Passthrough
Snippet Library
/
Easy Passthrough
php
Delete Passthrough Entry After Submission
Delete the entry passed through via the EP token after the target form has been submitted.
php
Delete Token After Use
Delete the EP token that was used to populate a given form after that form is submitted.
php
Delete EP Tokens After 72 Hours
This snippet intercepts requests that contain an EP token and deletes the token if the entry was created more than...
php
Disable Passing Through Entries Without a Token
php
Disable Same Form Passthrough Without a Token
This example will prevent GPEP from continuously passing through entries if the ep_token is not present in the URL and...
php
Disabling Passthrough With Query Parameter
php
Edit Entry Conditionally
php
Make Pages Navigable When Editing Entry
When repopulating an entry into a form for editing via Easy Passthrough and this snippet, make all pages navigable if...
php
Edit Entry
Edit the entry that was passed through via GP Easy Passthrough rather than creating a new entry.
php
Generate Tokens on Import
Generate tokens for entries that are imported using GravityImport (formerly GravityView Importer)
php
Populate Choice Label
When mapping a choice-based field to a Single Line Text field, you may want to populate the choice label rather...
php
Multiple Source Form fields mapped to same Target Form Field.
If multiple Source Form Fields Mapped to the same Target Form Field, use a previous mapping rule in case the...
php
Prioritize Token over User Passthrough
php
Save EP Token to Field
This snippet allows you to populate the EP token into a field so it can be mapped in Gravity Forms...
php
Remove Price at the End of a Specific Target Field’s Value
php
Generate Token for Partial Entries
php
Update Other Entry on Submission
Update a field value of an entry on Form A when Form B is submitted based on populated Easy Passthrough...