Skip Navigation

[Resolved] Setting a display condition does not differentiate in front end

This thread is resolved. Here is a description of the problem and solution.

Problem:
Graham reported that his conditional display settings for one of a custom field is working in the admin area, but not on the front-end (inside a CRED form)

Solution:
Guided that the way the conditional statement is set, it is dependant on another custom field value, which is not available in the front-end form.

Suggested to use the reversed condition.

Relevant Documentation:
https://toolset.com/documentation/user-guides/types-custom-fields-conditional-display/

This support ticket is created 6 years, 3 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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

Tagged: 

This topic contains 2 replies, has 2 voices.

Last updated by grahamA 6 years, 3 months ago.

Assisted by: Waqar.

Author
Posts
#1115773

Setting a display condition on a custom field works in the backend BUT does not in the front end.

Custom field 'My field One' - Condition uses a custom field "show me" with a value equal to 1

This works well in the individual back end of each post 'Clients - acme company (condition set to 1) ' and 'Projects - project 1 (condition set to 0)' but it is not reflected on the front end and the input field dissapears in both instances.

hidden link
hidden link

#1116300

Hi Graham,

Thank you for contacting us and I'll be happy to assist.

In the custom field group’s settings, the “My field One” is set to show only when a value of “show me” field is equal to “1”.

But on both your forms, this field is not available and as a result, “My field One” stays hidden, as expected.

If your goal is to make use of this condition only on the backend, you can use a converse condition (i.e. change “show me” to “hide me”).

I hope this clarifies! Please let us know if you need any further assistance.

#1116374

My issue is resolved now. Thank you!

🙂