PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Restrict access to content until the form is submitted?

  1. My client would like to offer one page of content on their website with the restriction that visitors must submit their name and email (along with an agreement to be added to their email list) before accessing the content. Restrictions based on user roles require too many hoops to jump through. My client wants it to be very loose... they just want the email submitted even if it is a "junk" email, and they want the content to become accessible right away on the page (no additional screens, if possible). I read the forums enough to know that Gravity Forms can redirect to another page once a form is submitted, but I'm hoping a redirect to a separate page is unnecessary in this case. Can Gravity Forms do this?

    My client does use Mailchimp, so is it also possible for this form data to be uploaded directly to their Mailchimp account using your extension?

    Posted 10 years ago on Tuesday March 27, 2012 | Permalink
  2. What kind of content are you looking to display and would it only need to be accessed that one time or is it something that would need to be accessed many times via a URL later?

    Posted 10 years ago on Wednesday March 28, 2012 | Permalink
  3. I am using "Restrict Content Pro", there is also a free version called "Restrict Content". I have tried both and they are excellent. I wanted the added features of the Pro version.
    You can read about it here:
    Take a look, it will probably suit your client's purpose perfectly.

    Posted 10 years ago on Thursday March 29, 2012 | Permalink
  4. Rob - The functionality I'm looking for is very similar to a password-protected page, but instead of a password it would require submission of form fields including name and email. The content that the visitor gains access to would be typical of any other page... text, links to videos, downloadable pdfs, etc. I'm not worried about caching the visitor's access in the manner that occurs with a password-protected page. The visitor can submit their name and email every time they visit if they want. I would just prefer not to have to send them to a separate URL on form submission that has open access when the whole point is to require them to submit their information that adds them to the client's mailing list.

    MichaelT - It's funny that you mention that plugin. I went to the Restrict Content Pro website first and emailed them this same question. Pippin wrote me back and said that this could not be done with their plugin, and then referred me to Gravity Forms. So now I've come full circle.

    I did come across a plugin called "Hide and Catch Email" that accomplishes what I want. It is pretty limited, however, as it is set up to email the form submissions to the admin rather than save them to a database or upload them directly to Mailchimp. If Gravity Forms can accomplish what I want more efficiently, then I'm still open to using it.

    Posted 10 years ago on Friday March 30, 2012 | Permalink
  5. twistystraws


    I'd be interested to hear if you managed to come up with a solution to this?

    Posted 10 years ago on Monday September 24, 2012 | Permalink
  6. jimmywhitetrix

    I would also be very interested to learn how to do this.

    Can gravity forms act as a "key" to the password protected pages?

    Posted 10 years ago on Thursday October 4, 2012 | Permalink
  7. @jimmywhitetrix can you explain what you are looking for specifically? What should the visitor have to do with your Gravity Form and then what should they be able to see after doing it?

    Posted 10 years ago on Thursday October 4, 2012 | Permalink
  8. jimmywhitetrix

    Hi Chris,

    I have created a Wordpress password protected page.

    I would like to create a form with just 2 fields: Name & "Enter password here" = Access to the password protected page.

    Thanks in advance.

    Posted 10 years ago on Thursday October 4, 2012 | Permalink
  9. I don't know of a way to combine the WordPress ability to password protect a post with a Gravity Form's ability to collect the user's name. The WordPress form to collect the password is provided by the the_password_form filter, and I'm not sure how you could integrate that with Gravity Forms.

    You can require a visitor authenticate themselves with a Gravity Form before they can see the content, but that would not use the password protect feature of the WordPress post. Would that work for you?

    Posted 10 years ago on Thursday October 4, 2012 | Permalink
  10. Kropmark,

    I assume you solved your problem already, but in case you have not this link might help you out.

    Posted 10 years ago on Tuesday October 30, 2012 | Permalink
  11. Thanks for the link Erik.

    Posted 10 years ago on Wednesday October 31, 2012 | Permalink

This topic has been resolved and has been closed to new replies.