[Resolved] conditional group to display field value not working properly
This support ticket is created 3 years, 2 months ago. 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.
[cred_show_group if="( $(request-status) eq '1' ) AND ( $(payment) eq '2' ) AND ( $(user-account-status) eq '1' )" mode="none"]
What's different about that condition is that it contains a user custom field, user-account-status, correct?
What kind of form is this? I'm not sure I understand what I'm looking at, as you seem to be outputting user field values in a form rather than offering inputs for those fields. I don't know if you have inputs for these fields somewhere else on the form...
Hello and thank you for contacting Toolset support.
I am really confused because you are using the cred_show_group shortcode with the types shortcode. Is this a form or a view/content template/archive?
The cred_show_group shortcode is meant to be used in forms. And I would expect that you use the cred_field shortcode instead of the types shortcode, which is supposed to be used in views/content template/archives.
Would you like to reproduce this issue on one of our test sites? If yes, please login with this URL hidden link
Yes, it is a user form. there are CRED fields and types . I found that I did not add the expiration date as a CRED field in the form that is why I am not able to retrieve the value in the types.