# Using Conditional Logic

Form Fields Pro allows you to display or hide form fields based on user input.

1. Select a field and open the **Conditional Logic** settings.
2. Define rules based on previous field inputs (e.g., "Show this field if age is greater than 18 in datepicker").
3. Press Insert Field and publish your site to test the logic in action.

<figure><img src="/files/S5H178X0kVslJYd3WNML" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.flowappz.com/home/form-fields-pro/using-conditional-logic.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
