WordPress.org

Ready to get started?Download WordPress

Forums

Gravity Forms Data Persistence Add-On
[resolved] checkbox to turn on "Enable form persistence" not staying checked (22 posts)

  1. justradar
    Member
    Posted 1 year ago #

    when i check the checkbox to turn on "Enable form persistence" in the forms settings section .... the checkbox does not stay "checked" after the update form settings button is clicked

    any help would be greatly appreciated!

    (sorry about the previous post with misused title, not sure how i missed that)

    http://wordpress.org/extend/plugins/gravity-forms-data-persistence-add-on/

  2. mdav43
    Member
    Posted 1 year ago #

    ditto.

  3. spkane
    Member
    Posted 1 year ago #

    Yup. I'm guessing this is the reason persistence isn't working for me. Tried saving setting using Chrome and Firefox. No luck.

  4. justradar
    Member
    Posted 1 year ago #

    maybe you could both start new threads with the same title to help this issue get attention??

    this is really crucial to my project ..

  5. Scott Foshee
    Member
    Posted 1 year ago #

    I'm having the same problem and can get no support. The box doesn't remain checked and I don't understand how to get users to login to Gravity Forms for it to remember their form. Help!

  6. Scott Foshee
    Member
    Posted 1 year ago #

    I have sent two emails over two days to the developer of the add-on, have tried Firefox, have tried postings, but no luck whatsoever. Have you heard anything at all that will resolve this checkbox issue?

  7. spkane
    Member
    Posted 1 year ago #

    I accept that for whatever reason the author of this free - and potentially useful - plugin is unable or unwilling to support it. The git post I saw said not to expect support or updates so I'll take him at his word. Seems ripe to be forked.

  8. justradar
    Member
    Posted 1 year ago #

    i've tried contacting the plugin through every method i could think of, no luck

    if anyone finds a solution, please post it, thanks all

  9. nordov
    Member
    Posted 1 year ago #

    I got it to work!

    It looks like the add-on was written for an older version of Gravity Forms (just a guess). It was injecting the JavaScript code that enables the option after clicking on the check box in the wrong GF Settings page.

    The solution is simple:

    Open the plugin file and look in line 134 for:
    add_action("gform_editor_js", "editor_script_persistency");

    Change for
    add_action("gform_advanced_settings", "editor_script_persistency");

    Good Luck!
    http://www.nordovcreative.com

  10. justradar
    Member
    Posted 1 year ago #

    woohoo!

    you rock! bestest, most awesomest post i've ever seen.

    thank you for saving my bacon!

  11. justradar
    Member
    Posted 1 year ago #

    Nordov, your website link is broken?

    any chance you could add a function to autosave every certain amount of time?

  12. nordov
    Member
    Posted 1 year ago #

    LOL I don't know what I was thinking :P

    http://www.nordov.com (I am still working on it so no big deal here -Yet!)

    I just found the add-on today and fixed it when I encountered the problem.

    I am right now working on a very long form that triggered me to find this solution so I need to finish it first to run all tests but I like your idea.

    Once I am done with it I'll look into it.

  13. justradar
    Member
    Posted 1 year ago #

    great, thanks, i just sent you an email

    awesome work

  14. justradar
    Member
    Posted 1 year ago #

    Nordov, pls send me an email at justin at lallo dot net as your contact form isn't working

    thanks

  15. Scott Foshee
    Member
    Posted 1 year ago #

    Thanks so much - now Persistence works! I just hope it continues to work with new WP updates.

    Now how to get the users to login? My login message is displayed, but does not direct them anywhere. Do they need to sign up for a WP account to do this?

  16. justradar
    Member
    Posted 1 year ago #

    that's an entirely different conversation ... depending on what version of gravity forms you have, there are different plugins to help

    http://www.gravityforms.com/add-ons/user-registration/

    http://www.creative-web-ideas.com/wordpress-user-registration-forms/

  17. nordov
    Member
    Posted 1 year ago #

    Yes, the login and registration sadly has to be handled separately. The good news is that since GF allows HTML and shortcodes in the text area to show when the user is not logged in, you can pretty much code the solution right there.

    How I dealt with it:

    1)Install Easy Modal Plugin
    2)Create 3 modals (Login, Password Recovery and Registration)
    3)Form Settings>Require Login Message: you can use something like:

    <h1>Registration Required</h1>
    <p>You must first register in order to fill the form. If you already registered and want to start a new application and/or continue an old one, please enter your login information and click the login button.</p>
    <p>Otherwise enter a username an your email address to receive your new account password</p>
    
    [button id="" class="eModal eModal-9" align="" link="" linkTarget="_self" bgColor="accent2" font="24" icon="" icon_placement="left" icon_color=""]Login[/button]
    
    [button id="" class="eModal eModal-11" align="" link="" linkTarget="_self" bgColor="accent2" font="24" icon="" icon_placement="left" icon_color=""]Recover Password[/button]
    
    [button id="" class="eModal eModal-10" align="" link="" linkTarget="_self" bgColor="accent2" font="24" icon="" icon_placement="left" icon_color=""]Register[/button]

    You can see this solution over here: http://retail.americanlendinginc.com/loan-application/

    This is just one way, another pretty creative way is to install Short Code Exec PHP. Create a nice PHP code on it and then just use the shortcode.

  18. squidz
    Member
    Posted 10 months ago #

    Nordov - Man, I appreciate the stuff you've included in this thread. It has helped. However, I have a question or two for you:

    1) I've installed the Gravity User Registration Add-On and created a Registration Form. But how do I implement Login and Recover Password forms that are related to the User Registration or even the multipage form I'm requiring the registration to complete? I seem to be missing something in how continuing with the multipage form is tied to registering.

    2) I can't get a button shortcode to work to pop the modal for my life. The class gets overwritten every time so the modal will not pop.

  19. amarchauhan
    Member
    Posted 9 months ago #

    Hi nordov,

    The checkbox is now working as it should. thank you.
    I have noticed that when filling the form out if i refresh the page it retains the data i put in the fields.

    What i want it to do is when i log out or close the tab, the data is still there when i log in. is this possible? therefore allowing me to half fill the form and complete it on a later date.

    Its not working with the plugin "Gravity Forms Data Persistence Add-On"

  20. allmyhoney
    Member
    Posted 8 months ago #

    I do wish this plugin was integrated into Gravity Forms or updated more regularly as its such a crucial feature for long forms quiet honestly. Thanks for the fix here nordov saved me literally ;)

  21. Gabriel Reguly
    Member
    Posted 6 months ago #

    Hi all,

    I too need this funcionality and am updating the plugin to work with the most recent version of Gravity Forms.

    Regards,
    Gabriel

  22. 256studio
    Member
    Posted 4 months ago #

    Thanks you for the quick fix on the
    add_action("gform_advanced_settings", "editor_script_persistency");
    #Nordov!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic