How to use filters in Submission Settings
Category: Form Builder Section: Workflows & Form Submission Last Updated: 2023-11-01
Use XPath filters to control when documents assemble or emails send based on form field values.
When to Use Filters
- Assemble different templates based on user selections
- Send emails only when specific conditions are met
- Restrict workflows to certain field values
Filter Syntax by Field Type
Text, Email, and Number Fields
xpath
//Data[Field_Name='value']Dropdown Lists
xpath
//Data/Field_Name[value='option']TIP
For dropdowns, value is literal — only replace option with your choice value.
Radio Buttons
Check overall value:
xpath
//Data/Field_Name[Field_Name='option']Check if option is selected:
xpath
//Data/Field_Name[option='true']Check if option is NOT selected:
xpath
//Data/Field_Name[option='false']Checkbox Groups
Include when option A is checked (regardless of other selections):
xpath
//Data/Field_Name[A='true']Include when ONLY option A is checked:
xpath
//Data/Field_Name[Field_Name='A']Include when both A and B (only) are checked:
xpath
//Data/Field_Name[Field_Name='A,B']WARNING
Option names containing spaces won't work with the [option='true'] syntax.
Comparison Operators
| Operator | Meaning |
|---|---|
= | Equals |
!= | Not equals |
> | Greater than |
>= | Greater than or equal |
< | Less than |
<= | Less than or equal |
Examples
Assemble template only for Australian addresses
xpath
//Data[Country_cho='Australia']Send email when total exceeds 1000
xpath
//Data[Total_num>1000]Include document when checkbox option selected
xpath
//Data/Terms_chk[Agree='true']Learn More
For comprehensive XPath documentation: W3Schools XPath Syntax