Simple I imagine, but cannot find...

By: Venue Llama | Asked: 01/17/2023
ForumsCategory: General questionsSimple I imagine, but cannot find...
Venue Llama asked 1 year ago
I only want to display a field in a view, if that field has been completed. For example, I have a form that has an optional field: 'previous name'  field ID=121 But if an entry doesn't have a previous name or have this field completed, I don't want it to display in the view.  
Using the below, I can get the veiw to display "Previous Name" but not the submitted field value for 121.

[if 121 not_equal=""]Previous Name:[/if 121]

what am I doing wrong?

Thanks!
2 Answers
Best Answer
Rob LeVineRob LeVine answered 1 year ago
You need to add in the shortcode of the field as follows: [if 121 not_equal=""]Previous Name: [121][/if 121]
Venue Llama answered 1 year ago
Thanks Rob! I had tried that, but needed to wipe out my cache.  Thanks it worked!

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right