nordov
Forum Replies Created
-
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: https://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.
LOL I don’t know what I was thinking ??
https://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.
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!
https://www.nordovcreative.com