> ## Documentation Index
> Fetch the complete documentation index at: https://fillout.com/help/llms.txt
> Use this file to discover all available pages before exploring further.

# Conditionally hide fields

> Set conditional logic to show and hide fields based on prior inputs, URL parameters or external data. Make dynamic forms based on your respondents' answers.

## What is conditional logic?

**Conditional logic** is a dynamic feature that adjusts form content based on responses, creating a personalized experience and improving data accuracy.

## Video tutorial

<iframe class="notion-asset-object-fit" src="https://www.loom.com/embed/6d48f8de3d7d493d8a44cf66aaff4723" title="iframe video" frameborder="0" allowfullscreen loading="lazy" scrolling="auto" width="100%" height="540px" />

## Hide based on a condition

Click the field's <Icon icon="gear-complex" iconType="solid" /> and open the **Logic** section on the right-hand panel to `Set conditional logic`.

<img src="https://mintcdn.com/fillout-005a867b/eyFDt8-J2lN7LjRZ/images/logic/image-31.png?fit=max&auto=format&n=eyFDt8-J2lN7LjRZ&q=85&s=fd2aa9ca79c7ad5cf199935500546227" alt="Screenshot of the Form designer tab of a form" width="2245" height="775" data-path="images/logic/image-31.png" />

Then, `+ Add condition`. You can make a condition based on:

* Previous form inputs
* URL parameters (e.g., source = Facebook or Google)
* Data from an integration
* Date information (e.g., 5 days from today)

For example, we’ll only ask users to specify if they "need any special accommodations".

<img src="https://mintcdn.com/fillout-005a867b/eyFDt8-J2lN7LjRZ/images/logic/image-32.png?fit=max&auto=format&n=eyFDt8-J2lN7LjRZ&q=85&s=d0b079c46ccbfd27f80292e883d11d3f" alt="Screenshot of the Form designer tab of a form" width="2108" height="474" data-path="images/logic/image-32.png" />

## Hide always

Toggle the `Hide always` switch to always hide a question or field. This is useful for [pre-filling questions](/prefill-fields) that you don’t want your users to change (e.g., a referral code that tracks where a user came from).

<img src="https://mintcdn.com/fillout-005a867b/eyFDt8-J2lN7LjRZ/images/logic/image-33.png?fit=max&auto=format&n=eyFDt8-J2lN7LjRZ&q=85&s=15c92b3613196bf0adeb7bd861ef6ef2" alt="Screenshot of the Form designer tab of a form" style={{ width:"39%" }} width="502" height="257" data-path="images/logic/image-33.png" />

## Related articles

<CardGroup cols={3}>
  <Card title="Pre-fill fields" icon="fill" iconType="solid" color="#FFC738" href="/prefill-fields">
    Pre-populate fields based on previous inputs and more.
  </Card>

  <Card title="Integration logic" icon="gear-complex" iconType="regular" color="#FFC738" href="/conditional-integration">
    Perform an integration only when a certain condition is met.
  </Card>

  <Card title="URL Parameters" icon="brackets-curly" iconType="regular" color="#FFC738" href="/url-parameters">
    Pass information to a form to support pre-filling.
  </Card>
</CardGroup>
