I am trying to: allow a user to submit a cred form
Link to a page where the issue can be seen: hidden link
I expected to see: successful form submission on submit
Instead, I got: "There was an error while submitting the form"
Setup:
post type
cred form - on submission > change post to draft status
view loop - display cred forms/submit buttons for each record
access - created custom role
access - added post group and gave role read permission to page
access - cred form: gave custom role edit own/edit others permissions for cred form
access - field types: gave custom role access to modify fields in edit page
assigned wp user to role
when logged in as admin vs custom role user: both appear the same but admin is able to successfully submit, custom role user hangs and then errors out.
any help appreciated - on deadline with this task. thank you.
I didn't test submitting the form on your live site and took a copy of your site for testing instead.
On the local install it worked first time for me (see screenshot, which is with a Staff Admin Access user).
That was without disabling plugins, changing theme etc.
The only obvious difference being that I created a new user and gave them that role.
To rule out that there is a problem with the user you currently have with that role, can you create a new user and assign the role to them, and then test again on your live site?