This support ticket is created hace 9 años. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
I am trying to ensure:
* admin can submit the form
* users with membership status "Pending" cannot see the submit button
* users with membership status "Confirmed" can see the submit button and submit the form
I used the codes below, however, only the first part for administrator works and second and the third part does not work at all. (they are the same codes I previously used in some of my other views and they are currently working fine. Somehow it does not work with CRED)
Please notice the surrounding quotes around the left hand side of the expression, also. This is required when you want to match the string value of field with another string.
[wpv-if evaluate="'[types field="membership-status"][/types]'='Pending'"]
You are not allowed to change your business details because your membership is currently pending approval.
[/wpv-if]