[Resolved] Conditional post fields not working in admin
The Toolset Community Forum is closed, for technical support questions, please head on to our Toolset Professional Support (for paid clients), with any pre-sale or admin question please contact us here.
This is the community support forum for Types plugin, which is part of Toolset. Toolset is a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.
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 create 4 post fields and hide #4 if #3 is empty, hide #3 if #2 is empty, and hide #2 if #1 is empty. All of this is for the back-end admin options only—not front-end.
I'm using the post fields conditional setting: "Custom Field" "> is greater than" "0" (see attached screenshot).
The value of the custom post field will be different URLs, so there is no exact value to compare. Is this the correct setting and value("0") to show/hide a field based on whether the field is empty or not?