I have a cpt that I have created a form for the owner of the post to be able to edit their post. I have a couple of cpt fields on the form that I only want the administrator or editor to be allowed to see and edit. I've looked at both conditional groups in fields and in the form builder but neither provides the ability to limit the display by a role. How can I get this to work?
In order to do this you will need to use our Access plugin because it provides you with the ability to restrict content based on the user's role.
Once you have done this you will need to turn on the expert mode for your form.
Finally using the shortcode below you can add the custom field code within this shortcode to Hide those fields for all users except editors and administrators.
[toolset_access role="Administrator,Editor" operator="allow"]
Cred form fields go here
[/toolset_access]