I created a few forms and I have 10 users on my blog that can all log into. Is there a way to assign each form to each of the users? Basically, I only want certain forms and entries to be seen by the user I assigned that form to.
I created a few forms and I have 10 users on my blog that can all log into. Is there a way to assign each form to each of the users? Basically, I only want certain forms and entries to be seen by the user I assigned that form to.
This plugin will create an easy way for you to do that without coding knowledge:
http://wordpress.org/extend/plugins/optional-content/
Wrap your form shortcode with a conditional statement specifying that the form should only display if the user's ID is a certain number. This means manually granting access for each new user you're working with, but it sounds like that is what you want.
After you install the plugin, your code should look a little something like this:
[optional_content type='user-id' value='1'][gravityform id="1"][/optional_content]
[optional_content type='user-id' value='2'][gravityform id="2"][/optional_content]
Not sure if I this will work. Basically, with Gravity forms, there is an entries section that when a gravity form is submitted it is in the Entries section of the Admin. Then you can see entries that were submitted by each form. I have a lot of forms that have entries coming in and I want to assign different users to each form. So, when they log in to wordpress and are in the admin section, they can only see the entries that were submitted for the form they are assigned to. Does that make sense. Also, if this plugin does this, how do you implement it so when a user logs in they can only see the form and entries they were assigned to?
Thank you so much for your help, response.
Shawn
You're right, with that additional information I see that my suggestion doesn't fit the scope of your needs. I thought you were just working with end-users, not folks with admin access to GF.
Maybe check out Gravity Forms Directory: http://wordpress.org/extend/plugins/gravity-forms-addons/
It seems like it would work for you if you could set it up so that a logged-in user would have access to an embedded instance of GF Directory, where they are only able to see the entries that belong to the form assigned to them. This might involve using conditional statements too, so it would look something like:
[optional_content type='user-id' value='1'][directory form="1"][/optional_content]
[optional_content type='user-id' value='2'][directory form="2"][/optional_content]
But this is just spitballing since I don't have enough experience with GF Directory to say for sure whether it will work for you.
And the suggestion I just posed above wouldn't grant those users access to edit notes or anything of that sort - so it might not fit your needs if that is necessary.