> ## 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.

# Using Logged-in Data in Your Form

export const SupportBanner = () => {
  const titleId = React.useId();
  return <div className="support-banner" role="region" aria-labelledby={titleId}>
      <span className="support-banner__ring support-banner__ring--outer" aria-hidden="true" />
      <span className="support-banner__ring support-banner__ring--middle" aria-hidden="true" />
      <span className="support-banner__ring support-banner__ring--inner" aria-hidden="true" />
      <span className="support-banner__ring support-banner__ring--center" aria-hidden="true" />

      <div className="support-banner__content">
        <div className="support-banner__title" id={titleId} role="heading" aria-level="2">Still have questions?</div>

        <div className="support-banner__copy">
          <span className="support-banner__line">Our team is happy to help. Start a live chat using the</span>
          <span className="support-banner__line">
            chat bubble <span className="support-banner__chat-icon" aria-hidden="true" /> in the bottom right, or email us at
          </span>
          <span className="support-banner__line">
            <a href="mailto:support@fillout.com">support{'@'}fillout.com</a>
          </span>
        </div>

        <a className="support-banner__cta" href="mailto:support@fillout.com">Contact us</a>
      </div>
    </div>;
};

## How it works

If your form includes a [**login page**](https://www.fillout.com/help/login-page) **connected to a database**, you can use data from the logged-in respondent or user throughout your form.

Once a respondent logs in, all of their data from the connected table becomes available for use. This allows you to create more personalized, dynamic, and controlled form experiences.

You can use logged-in user data in:

* **Answer piping** - to personalize text in the form
* **Logic conditions** - show or hide fields or skip pages
* **Record picker filters** - to limit linked records that can be selected
* **Prefetches** - to auto-load existing user data
* **Calculations** - to use user data in formulas
* **Prefilling fields** - to auto-fill form fields
* **Workflows and integrations** - map data directly and personalize notifications

## How to use logged-in data

<Steps>
  <Step title="Connect to a database">
    Navigate to your **login page**. On the left-hand panel, toggle [Connect to database](https://www.fillout.com/help/login-page#connect-to-a-database).
  </Step>

  <Step title="Open reference menu">
    Depending on your setup, the reference menu may appear automatically. If not, type **@** or click the `plus icon` <Icon icon="square-plus" iconType="solid" />.

    <img src="https://mintcdn.com/fillout-005a867b/DEn2Nq1aBd0yWE6q/images/Screenshot-2026-04-22-at-6.34.01-PM.png?fit=max&auto=format&n=DEn2Nq1aBd0yWE6q&q=85&s=6bf0609bfbf1dab021b3e955c3333132" alt="Screenshot 2026 04 22 At 6 34 01 PM" title="Screenshot 2026 04 22 At 6 34 01 PM" style={{ width:"69%" }} width="1344" height="816" data-path="images/Screenshot-2026-04-22-at-6.34.01-PM.png" />

    Then, click **User**.
  </Step>

  <Step title="Select field">
    Click the **field** you'd like to insert or use. In this example, we'll choose "Department".

    <img src="https://mintcdn.com/fillout-005a867b/DEn2Nq1aBd0yWE6q/images/Screenshot-2026-04-22-at-6.30.43-PM.png?fit=max&auto=format&n=DEn2Nq1aBd0yWE6q&q=85&s=a0b490a90181d6a7d04cdae03f8deb49" alt="Screenshot 2026 04 22 At 6 30 43 PM" title="Screenshot 2026 04 22 At 6 30 43 PM" style={{ width:"73%" }} width="1378" height="800" data-path="images/Screenshot-2026-04-22-at-6.30.43-PM.png" />
  </Step>
</Steps>

Displaying logged-in data helps personalize the form-filling experience. Follow these steps to complete the common use cases below.

## Prefill known information

Avoid asking respondents to re-enter data you already have. For example, auto-fill fields with their name, email, department and location. More info [here](https://www.fillout.com/help/prefill-fields).

## Show or skip pages based on user role

Control what users see based on their role or attributes using [page logic](https://www.fillout.com/help/page-logic). For example, if a logged-in user is a student, skip pages meant only for teachers.

<Note>
  Make sure your form is set to [**update an existing record**](https://www.fillout.com/help/airtable-update-form#how-it-works) in your integration in order to use logged-in data.
</Note>

## Use logged-in data in workflows and integrations

Pass user data directly into automations. For example, [send notifications that include the user’s name](https://www.fillout.com/help/custom-emails#how-to-send-a-custom-email) or role. You can also map logged-in user data directly into Airtable, Notion, etc.

## Restrict record picker choices

Limit what respondents can see and select in the [record picker dropdown](https://www.fillout.com/help/record-pickers#how-it-works) based on their own data by adding **filters**. This helps avoid long lists and reduces the chance of selecting the wrong option.

<Steps>
  <Step title="Open field settings">
    Click your **record picker** followed by its `gear icon` <Icon icon="gear-complex" iconType="solid" />.
  </Step>

  <Step title="Add filters">
    In the right-hand panel, scroll down to **Advanced** and `+ Add filters`.

    <img src="https://mintcdn.com/fillout-005a867b/DEn2Nq1aBd0yWE6q/images/Screenshot-2026-04-22-at-6.47.03-PM.png?fit=max&auto=format&n=DEn2Nq1aBd0yWE6q&q=85&s=75227fa068672d479870296a27343530" alt="Screenshot 2026 04 22 At 6 47 03 PM" title="Screenshot 2026 04 22 At 6 47 03 PM" style={{ width:"75%" }} width="1893" height="848" data-path="images/Screenshot-2026-04-22-at-6.47.03-PM.png" />
  </Step>

  <Step title="Set condition">
    Click `+ Add condition`. For example, we'll let store managers view and select employees only from their branch.

    * **Left dropdown:** Database field to filter by (e.g. location, department, or restock level)
    * **Center dropdown:** Condition operators (like equals, does not equal, contains, less than, etc.)
    * **Right dropdown:** Value to match against (Click User first followed by the field associated with them)

    <img src="https://mintcdn.com/fillout-005a867b/DEn2Nq1aBd0yWE6q/images/Screenshot-2026-04-22-at-6.50.33-PM.png?fit=max&auto=format&n=DEn2Nq1aBd0yWE6q&q=85&s=4fc5c3baf4e3e27f36523107a4b9c6bf" alt="Screenshot 2026 04 22 At 6 50 33 PM" title="Screenshot 2026 04 22 At 6 50 33 PM" style={{ width:"82%" }} width="1342" height="505" data-path="images/Screenshot-2026-04-22-at-6.50.33-PM.png" />

    <img src="https://mintcdn.com/fillout-005a867b/GmCE739-_gcZESH-/images/Screenshot-2026-05-04-at-2.00.49-PM.png?fit=max&auto=format&n=GmCE739-_gcZESH-&q=85&s=998f1a2c4334603a2e12814d1f83a977" alt="Screenshot 2026 05 04 At 2 00 49 PM" title="Screenshot 2026 05 04 At 2 00 49 PM" style={{ width:"58%" }} width="972" height="1024" data-path="images/Screenshot-2026-05-04-at-2.00.49-PM.png" />

    You can add **multiple filters** to refine your results. For example, match Location (left dropdown) to User Location (right) AND Availability to "In Stock".

    <Info>
      Filters currently only support **AND logic**. **OR condition** and **does not contain** can't be applied.
    </Info>
  </Step>
</Steps>

<SupportBanner />
