Skip Navigation

[Resolved] Displaying text field only if it has content?

This support ticket is created 5 years, 1 month 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)

This topic contains 2 replies, has 2 voices.

Last updated by samuelH 5 years ago.

Assisted by: Waqar.

Author
Posts
#1396759

Hi,
On this page: hidden link I have made a field that displayes when checking checkbutton. This postform creates new posts. When later editing the post, this is handled by another form. (hidden link) Click the "Endre" button.

I would like to display only the text fields that has content in this form. Is this possible?

#1397199

Hi Samuel,

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

You can use conditional output shortcode, to show or hide some text or content, based on the value of a particular field:
https://toolset.com/documentation/user-guides/conditional-html-output-in-views/

I've checked the page that you mentioned ( hidden link ), but I couldn't see the "Endre" button.

If that edit form requires a logged-in status, you're welcome to share temporary admin login details, so that I can guide you accordingly.

Note: Your next reply will be private and though no changes will be made on your website, please make a complete backup copy, before sharing the access details.

regards,
Waqar

#1410337

My issue is resolved now. Thank you!