---
title: "Add condition to a blank or an empty field"
canonical: "https://support.appfire.com/space/CSOT/68750255/Add%20condition%20to%20a%20blank%20or%20an%20empty%20field"
format: markdown
---
> Macro (aura-html)

### 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 |