Skip to content

Sticky Form is a Gravity Forms Add-on that enables forms to be "sticky". A sticky form stays populated with the users submitted data.

License

Notifications You must be signed in to change notification settings

13pixlar/gravity-forms-sticky-form

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gravity Forms Sticky Form

Sticky Form is a Gravity Forms (for wordpress) add-on that enables forms to be "sticky". A sticky form stays populated with the users submitted data.

Description

Sticky Form

Sticky Form is a WordPress plugin for Gravity Forms that enables forms to be "sticky". A sticky form stays populated with the users submitted data. The data is retrieved from the actual entry. This makes the same entries editable from both back- and front end.

The sticky form is persistent so that when the user returns, all previous data is pre populated with his/hers previous submission.

Note: There is a bug in earlier versions the Gravity Forms API that prevents Sticky List from working correctly. Please update Gravity Forms. More information and fix, please see the FAQ section of this readme.

Persistent Gravity Forms

Gravity Forms persistens, or stickyness, is usefull if you have a form that acts as a user profile, company profile or in other similar situations where the data needs to be persistant every time a user visits that form.

Save entry

Sticky Form uses a new Gravity Forms hook to save the submission to the same entry rather than creating a new entry and deleting the old one. This makes read and starred status stick!

Developers

This is the fully documented version of the plugin. This plugin is Open Source and pull requests are welcome.

This plugin is based on Gravity Forms Data Persistence Add-On Reloaded.

Note: Gravity Forms is required for this plugin.

Installation

  1. Upload extracted folder to the '/wp-content/plugins/' directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Choose the required sticky settings on the individual form settings page.

Frequently Asked Questions

Does this work with file upload?

Yes, to some extent. The plugin supports one file upload per form. To output the link to the file use {upload} in a HTML field. Future versions of this plugin will support multiple files.

How is this plugin diffrent from similar plugins ?

Sticky Form stores the data in an actual Gravity Forms entry. The advantage is that the entry can be edited on the back end and the new data will be used to populate the form on the front end.

Also, Sticky Form does not just delete the old entry and save a new one, thus keeping its read and starred status.

Some fields do not get updated

There was a bug in the Gravity Forms api that prevented fields from getting saved in the entry. The bug was fixed in the latest version of Gravity Forms. Make sure you use an updated version. If you are not able to update Gravity Forms you can easily apply the patch manually to plugins/gravityforms/includes/api.php

On line 510, remove

if (empty($entry_id))
    $entry_id = $entry["id"];

and replace with

if (empty($entry_id)) {
    $entry_id = $entry["id"];
}else{
    $entry["id"] = $entry_id;
}

Changelog

1.0.5

  • Fixed: Unserialize list form fields (Thanks to jgryn)

1.0.4

  • Improvment: Use the Gravity Forms API to update form
  • New option: Choose if the entry should be marked as unread upon save

1.0.3

  • Fixed: Fixed a bug where new forms wouldn't get saved

1.0.2

  • Update: Save as same entry instead of creating a new one (entry retains its read and starred status)

1.0.1

  • Fixed: Do not pre-populate if the entry is in trash

1.0

  • Initial release

About

Sticky Form is a Gravity Forms Add-on that enables forms to be "sticky". A sticky form stays populated with the users submitted data.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages