Web Wash: Conditionally Display View Fields using Views Conditional in Drupal

Drupal CMS

The View Conditional module is helpful if you want to display custom text depending on other field values in the View. It can be used to conditionally hide field values based on other View fields.

The module allows you to add a custom “conditional field” to the View, just like any other View field. Then you can use this field to customize the output based on the values of other fields. If this sounds confusing, it will become much clearer as we walk through a real example in this tutorial.

A common use case is if you have a View table and you want to change the content of a column depending on the value of another View field. We will demonstrate this now.