Views Conditional

Categories

Component ID

1977142

Component name

Views Conditional

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

48690

Component created

Component changed

Component body

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

  • Equal To
  • Not Equal To
  • Greater Than
  • Less Than
  • Empty
  • Not Empty

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.