Gravity Wiz

Magically enhanced tutorials, snippets and plugins for Gravity Forms!

  • Gravity Perks
    • Gravity Perks
    • Tutorials & Snippets
    • About
  • Support
    • Documentation
    • Support
    • Account

Gravity Forms Disable Entry Creation

Automatically delete a Gravity Forms entry and any associated files after the form is submitted.

This plugin is part of Gravity Perks, a suite of 41+ essential Gravity Forms addons with support you can count on.

  • View All Perks
  • Buy Gravity Perks

What does it do?

Gravity Forms must create an entry in order to function properly. Rather than truly disabling entry creation, Gravity Forms Disable Entry Creation will automatically delete the entry and any associated files after the submission process has been completed.

Additionally, if the form has a User Registration feed, the entry will be deleted once the user has been activated, created or updated (depending on how your User Registration feed is configured).

Features

  • Automatically delete entry after feeds have been processed.
    Create Users without retaining data in form entries.
  • Conditionally disable entry creation.
    Use Gravity Forms conditional logic to conditionally disable entry creation.
  • GDPR compliance.
    Remove all personal data from entries after processing.
  • Seamless, easy-to-use UI.
    Integrates directly with Gravity Forms settings. Activate this feature with a single click.
  • Automatic updates.
    Get updates and latest features right in your dashboard.
  • Awesome support.
    We’re here to help! And we mean it.

Documentation

  1. How do I enable this functionality?
  2. Feature Details
    1. Conditionally Disable Entry Creation
  3. FAQs
    1. Can I still access uploaded files after the entry is deleted?
    2. How does this differ from Gravity Forms Data Retention feature?
  4. Credits

How do I enable this functionality?

To disable entry creation for any form, just activate this perk and head to the form settings for whichever form you’re working with. Scroll down to the Entry Creation section near the bottom and check Disable entry creation.

Feature Details

Conditionally Disable Entry Creation

Entry creation can be disabled using conditional logic. After checking Disable entry creation in the form settings, a checkbox to enable conditional logic appears. Check this box and set up conditional logic like you would anywhere else in your form.


FAQs

Can I still access uploaded files after the entry is deleted?

Yes! By default, the entire entry an any associated files will be deleted. However, if you would like to delete the entry but keep the uploaded files, you can add this filter to your themes functions.php.

add_filter( 'gform_field_types_delete_files', function() { return array(); } );

How does this differ from Gravity Forms Data Retention feature?

Disable Entry Creation differs from the built-in Retention Policy feature in two ways:

  1. Disable Entry Creation can delete entries immediately. The shortest time the built-in option gives you is 1 day.
  2. Disable Entry Creation waits until feeds are processed before deleting entries. If the form has a User Registration feed and there are pending activations, it will wait until the activation is completed before deleting the entry. The built-in feature will delete the entry even if there is a pending activation, causing errors if the user tries to activate after the entry has been deleted.

Credits

Big shout-out to Richard Wawrzyniak for his major contributions to this plugin.

Perk Deets

  • Version 2.0.2
  • Updated July 26, 2022
  • Released August 12, 2014
  • View Changelog

Changelog

2.0.2

  • Fixed improperly named filter: gpbua_should_delete_entry has been changed to gpdec_should_delete_entry.

2.0.1

  • Added gpbua_should_delete_entry PHP filter.
  • Added "Update URI" to plugin header to improve security.

2.0

  • Improved support for Gravity Forms 2.5.
  • Updated to use GP_Plugin framework.

1.0.9

  • Fixed conflict with Nested Forms where attempting to delete the same entry twice created fatal error.

1.0.8

  • Added support for conditional logic to determine when to disable entry creation.

1.0.7

  • Converted GP_Disable_Entry_Creation class to a singleton to allow 3rd party developers to more easily interact with hooks created for it.
  • Added GP_DISABLE_ENTRY_CREATION constant for version.

1.0.6

  • Fixed fatal error when GF User Registration add-on was not active (double doh!)

1.0.5

  • Fixed issue where entry was not correctly deleted if UR feed was attached

1.0.4

  • Updated perk to use GP_Bootstrap

1.0.3

  • Updated to work with GFUR 3.0

1.0.2

  • Fixed issue where entry was not disabled when GFUR was not active (doh!)

1.0.1

  • Updated priority of some hooks to avoid order-of-events conflicts, props @richardW8k
  • Fixed issue where $config 'active' index may not be defined

1.0

  • Oh, oh, oh, oh, staying alive!

All Perks

  • GF Address Autocomplete
  • GF Advanced Calculations
  • GF Auto List Field
  • GF Auto Login
  • GF Better User Activation
  • GF Blocklist
  • GF Conditional Logic Dates
  • GF Conditional Pricing
  • GF Copy Cat
  • GF Date Time Calculator
  • GF Disable Entry Creation
  • GF Easy Passthrough
  • GF eCommerce Fields
  • GF Email Users
  • GF Entry Blocks
  • GF Expand Textareas
  • GF File Upload Pro
  • GF Inventory
  • GF Limit Checkboxes
  • GF Limit Choices
  • GF Limit Dates
  • GF Limit Submissions
  • GF Live Preview
  • GF Media Library
  • GF Multi-Page Navigation
  • GF Nested Forms
  • GF Notification Scheduler
  • GF Page Transitions
  • GF Pay Per Word
  • GF PayPal One-time Fee
  • GF Placeholder
  • GF Populate Anything
  • GF Post Content Merge Tags
  • GF Preview Submission
  • GF Price Range
  • GF QR Code
  • GF Randomizer
  • GF Read Only
  • GF Reload Form
  • GF Terms Of Service
  • GF Unique ID
  • GF Word Count

Copyright © 2022 · Powered by WordPress · Gravity Wiz LLC

  • Support
  • Affiliates
  • About
  • Sitemap
  • Terms & Conditions of Use
  • Privacy Policy
  • Cookies Policy

Get access to hundreds of Gravity Forms plugins for free!

Enter your email and receive a list of our most popular free snippets and plugins for Gravity Forms.

  • Gravity Perks
    ▼
    • Gravity Perks
    • Tutorials & Snippets
    • About
  • Support
    ▼
    • Documentation
    • Support
    • Account