---
title: "Add condition to a blank or an empty field"
canonical: "https://support.appfire.com/space/CSOTDC/3764199283/Add+condition+to+a+blank+or+an+empty+field"
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 |