- Password Protect WordPress Lite version 22.214.171.124 or greater
- Password Protect WordPress Pro version 126.96.36.199 or greater
- PPWP Forms Integration version 1.1.0 or greater
How to add password field to Gravity Forms
Once activating our plugins, navigate to Forms and edit the form that you want to add the password field.
Your form needs to contain at least one “Single Line Text” field which will be the password field.
At the top menu, hover over Settings and click on PPWP Pro to see our PPWP Forms Integration configuration.
1. Select “Use this form as central password form”
Select “Use this form as central password form” option from “Form Action” dropdown.
This option requires your users to enter a password during the form submission process. Once done, users will be redirected to the private content automatically.
2. Attach a protected page to the form
Select the private content to be sent to users after form submission by inputting its ID. You can get the ID number by hovering over the desired post title.
Make sure the associated content is protected by our PPWP Pro or its extensions such as PPWP Groups or PPWP Access Levels. Otherwise, users will see an error message when submitting the form.
3. Select which form field to be the password field
You can find the field ID by clicking on the field title.
Once done, save the settings and publish or update the form.
It’s worth noting that:
- Users can unlock specific content using individual passwords or master passwords.
- Our plugin does not replace the default password form with the custom contact form. So if your users access the protected content directly, they will see a password field only.
- Once users enter the correct password and submit the form successfully, our plugin will save a cookie to their browser. So they don’t have to re-enter the password when accessing the private content multiple times.
- You can modify the cookie expiration time under the plugin’s settings page.
- To avoid duplicate submission, users will receive an error message if they have already unlocked the protected content.