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.

Require user log in before filling in form

  1. I had a form set up in cforms in which I forced the users to log in before filling in the form by pre-populating the name and email fields with {CurUserName} and {CurUserEmail} and making those fields BOTH read only and required. If they hadn't logged in the fields were blank, but they couldn't just type into them because they were read only. It worked great.

    I'm trying to find a similar, or any, way to force users to log in before filling in the form. I can do the pre-populate thing with GF but it looks like there is no way to make a field read-only.

    Any other suggestions?

    Thanks!

    Posted 12 years ago on Tuesday September 6, 2011 | Permalink
  2. The 1.6 beta release has the ability to restrict a form to a logged in user. Depending on your time frame, maybe that feature can help you.

    Right now, you could put the form in a page with some sort of access control for members only, and restrict the form to logged in members only. I like the Members plugin by Justin Tadlock.

    http://wordpress.org/extend/plugins/members/

    Posted 12 years ago on Tuesday September 6, 2011 | Permalink
  3. Thanks! I will watch for the upgrade. I hope you will put a read-only feature on the wish list.

    Posted 12 years ago on Tuesday September 6, 2011 | Permalink
  4. We'll make a note of it. Thank you.

    Posted 12 years ago on Tuesday September 6, 2011 | Permalink

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