> For the complete documentation index, see [llms.txt](https://kb.craftformswp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kb.craftformswp.com/documentation/form-building/create-form/form-settings-post-context/field-conditions.md).

# Field Conditions

Fields conditional logic.  It is the PRO version functionality.

Click on "Manage Conditions" opens a modal window where new conditions can be created or existing ones can be managed:

<figure><img src="https://97821998-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM2yV1foUgoGHBC66VBDw%2Fuploads%2FfsMgLU4KhkyEtIdjpda4%2FSCR-20260325-obgq.png?alt=media&amp;token=07d8f013-b6cf-4d7b-b281-854b2a4bd95a" alt=""><figcaption></figcaption></figure>

### Add Condition

Click "+ Add Rule" and a new item will be created and its settings will be showed:

<figure><img src="https://97821998-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM2yV1foUgoGHBC66VBDw%2Fuploads%2Fwv9jCH3OntFmIKkyNaXZ%2FSCR-20260325-ocpm.png?alt=media&amp;token=48c6567b-cc03-4425-b39d-475c4e1a2cdd" alt=""><figcaption></figcaption></figure>

**Action defines what exactly will happen**. A form field should be hidden or showed or disabled etc? Or maybe an arbitrary element must be showed or hidden? Therefore we have these actions:

* Show (field, must be hidden visually)
* Hide (field)
* Enable (field, must be disabled)
* Disable (field)
* Show element (any html element, must be hidden visually)
* Hide element (any html element)

After choosing action you have to **choose target, which means - define what element will be showed/hidden/disabled etc**.

After that you have to configure condition by defining **which form field** will be watched and compared against which **value** based on which **operator**.

If action is show/hide element - then **target** is a CSS Selector.
