I created simple Login form. Now I need redirect user to /wp-admin/ if avrething ok. How to make it?
I found this setup
But it dosen’t work right.
After the user has entered the correct email and password details and clicked Submit, he should be taken to the site admin panel. How to fix it ?
I also read
And now my shortcode look like -
[gravityform id="1" title="true" desctiption="false" ajax="true" action="login" registration_link_display="false"] But it dosen’t work for me.
(Richard Wawrzyniak (Gravity Forms))
May 17, 2023, 2:23pm
To use the login shortcode you’ll need the User Registration add-on:
Seamless Integration With the Gravity Forms User Registration Add-On you can quickly and easily register users on your WordPress website. Once installed, this add-on can work with any form – new or existing – simply add the User Registration fields...
Est. reading time: 1 minute
If you have an Elite or legacy Developer license, you can install the add-on via the Forms > Add-Ons page. If you don’t have the required license, you can upgrade your license via your
Gravity Forms account page.
This article provides step-by-step instructions along with screenshots on how to upgrade your Gravity Forms license, what happens when you upgrade, and how your upgrade price is calculated.
Est. reading time: 3 minutes
I used this addon, but get a problem. Now my short code look like.
[gravityform id="1" action="login" title="true" desctiption="true" registration_link_display="false" login_redirect="/wp-admin/"]
And I don’t see the icons and placeholders for the fields.
When I remove atrubutes
action="login" - I can’t redirect after outorisation on a admin page.
I also got some problem in console.
gravityforms.min.js?ver=2.7.6:1 Uncaught TypeError: gform.initializeOnLoaded is not a function
I don’t use recaptcha for this form