Avada › Forums › Community Forum › Hiding / Conditional Rendering of container/column/element if ACF field is empty › Reply To: Hiding / Conditional Rendering of container/column/element if ACF field is empty
Hey guys,
i solved it like this for myself:
I wanted to hide an entire container if no technical drawing is stored for a product. (With this container I give the customer the possibility to download a technical drawing, but sometimes there is no drawing for an article).
I selected “Rendering Logic” > “ACF Field” and then “contains”: “.pdf”
Now the container is only displayed if I have selected a PDF, i.e. the technical drawing, for the product in my ACF field.
I gave my ACF field the type “File” for this.
Maybe that helps too.