---
title: "How to add condition to a blank or empty field"
canonical: "https://support.appfire.com/space/SUPPORT/89135689/How%20to%20add%20condition%20to%20a%20blank%20or%20empty%20field"
format: markdown
---
### Description

A common scenario is to do something if a field is not set or empty.

### Steps

Add a condition with the following characteristics:

| **Value** | **Pattern** | **Exact** | **Literal** | **Negative** | **Notes** |
| --- | --- | --- | --- | --- | --- |
| **%variable%** | **\S+** | either | :cross_mark: | :check_mark: | - **\S+** means to look for at least 1 (that is what + means) non-whitespace character
- Use **Negative** to reverse the matching on a non-blank character |