Module Description
Views Conditional is a simple module that allows you to define conditionals (if xxx then yyy) with fields in views.

Drupal 8/9 Conditions include:


* Equal To
* Not Equal To
* Greater Than
* Greater Than or Equals
* Less Than
* Less Than or Equals
* Empty
* Not Empty
* Contains
* Does Not Contain
* Length Equal To
* Length Not Equal To
* Length Greater Than
* Length Less Than

Drupal 7 Conditions include:


* Equal To
* Not Equal To
* Greater Than
* Less Than
* Empty
* Not Empty
* Contains
* Does Not Contain
* Length Equal To
* Length Not Equal To
* Length Greater Than
* Length Less Than

Views conditional allows you to output text based on the result of the condition.

---

How to use Views Conditional in your Views: 1. Create a view. Add some fields under "FIELDS". 2. Click on "ADD" next to fields. Scroll down to "Views: Views Conditional", probably found near the bottom of the list. 3. Add and configure fields... 4. Choose a field to run a condition against, and provide values accordingly. 5. Save, views conditional handles the logic and returns as specified.

Documentation Read the WebWash Tutorial for Views Conditional

Project Usage
28547
Creation Date
Changed Date
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
Views Conditional module helps users define conditionals with fields in views to output text based on the result of the condition.
Data Name
views_conditional

OPENAI CHATBOT

OPENAI CHATBOT

14:26:04
Generic Chatbot
Hi, I'm a Drupal module expert powered by OpenAI, answering your questions about the Drupal module ecosystem. How can I be helpful today? Please note that we will log your question.