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

# Question Types

> A complete reference for every question type in Gavel, from basic text and date fields to repeating items, integrations, and invisible logic.

The first step in building any Gavel workflow is adding questions that capture all the information your documents need. Gavel offers a broad set of question types — from simple text fields to integration-powered lookups — so you can collect any kind of data without writing code. You add questions by clicking **+ Question** in the bottom right of the Builder, or by selecting **+ New → Question** in the left sidebar.

Every question you add gets a unique **variable name** that you use to reference it in your output document templates. Choosing clear, consistent variable names from the start makes tagging your documents much easier.

***

## Standard input questions

These are the core question types you will use in most workflows.

<AccordionGroup>
  <Accordion title="Text">
    A single-line text box. Use this for short answers like names, addresses, or titles.

    **When to use:** Any field that requires a brief, free-text response — client name, company name, job title, street address.

    **Variable output:** A plain text string inserted directly wherever you place `{{ VariableName }}` in your document.
  </Accordion>

  <Accordion title="Text Area">
    A multi-line text box. Use this when you expect a longer narrative answer that may span several sentences or paragraphs.

    **When to use:** Background facts, description of services, special instructions, or any field where the respondent may need to write multiple sentences.

    **Variable output:** A text block. The full content inserts at the variable tag in your document.
  </Accordion>

  <Accordion title="Yes/No">
    A two-option question. The respondent answers Yes or No. This is one of the most useful question types for driving conditional logic — showing or hiding later questions and document clauses based on the answer.

    **When to use:** "Does the client have children?", "Is this agreement governed by California law?", "Does the tenant have a pet?"

    **Variable output:** The value `True` (Yes) or `False` (No). Use this in conditional statements in your document template.
  </Accordion>

  <Accordion title="Number">
    A numeric input field. Gavel supports both whole numbers and decimals. Use this for counts, dollar amounts, percentages, or any value you may need to calculate with.

    **When to use:** Purchase price, number of shares, interest rate, term in months.

    **Variable output:** A numeric value. You can use number variables in calculations within your document templates.
  </Accordion>

  <Accordion title="Date">
    A date picker. Respondents select a date from a calendar interface.

    **When to use:** Effective date, signing date, deadline, date of birth, expiration date.

    **Variable output:** A formatted date value. You can control date formatting in your document template.
  </Accordion>

  <Accordion title="Email">
    A text field that validates the entry as a properly formatted email address.

    **When to use:** Client email address, contact information, notification recipient.

    **Variable output:** A plain text string (the email address).
  </Accordion>
</AccordionGroup>

***

## Choice questions

Use these when you want to constrain the respondent to a set of pre-defined options.

<AccordionGroup>
  <Accordion title="Single Select">
    Displays a list of options as radio buttons or clickable tiles. The respondent can choose exactly one option.

    **When to use:** State of formation, entity type (LLC, Corporation, Partnership), marital status, payment method.

    **Variable output:** The text of the selected option.
  </Accordion>

  <Accordion title="Multi-Select">
    Displays a list of options as checkboxes. The respondent can select all options that apply.

    **When to use:** Services included in a contract, applicable jurisdictions, rights granted in a license, list of conditions.

    **Variable output:** An object containing all selected choices. You can output selected choices as a comma-separated list, a bulleted list, or table rows. See [Multi-Select responses](/workflows/question-types#multi-select-in-documents) below for syntax details.
  </Accordion>

  <Accordion title="Dropdown">
    Functionally identical to Single Select — the respondent chooses one option — but displayed as a collapsed dropdown menu rather than an expanded list. Useful when you have a long list of options and want to save screen space.

    **When to use:** Country selection, U.S. state, long lists of standardized options.

    **Variable output:** The text of the selected option.
  </Accordion>

  <Accordion title="Combobox">
    A hybrid input that lets the respondent either choose from a list of predefined options **or** type in their own answer. This is useful when your list covers most cases but you want to allow exceptions.

    **When to use:** "Select a currency or enter another", "Choose a standard clause or write a custom one", any field where an "Other" free-text option is needed.

    **Variable output:** Either the selected option text or the free-typed value.
  </Accordion>
</AccordionGroup>

***

## Specialized input questions

<AccordionGroup>
  <Accordion title="Signature">
    An electronic signature field. Respondents sign using a mouse, trackpad, or finger on a touch screen. Works on mobile and tablet devices.

    **When to use:** Any document requiring a client or party signature directly within the workflow — consent forms, engagement letters, settlement agreements.

    **Variable output:** The signature image, which you can embed in your output document using the variable tag.
  </Accordion>

  <Accordion title="File Upload">
    Allows the respondent to upload a single file. Accepted file types are: `.pdf`, `.docx`, `.doc`, `.txt`, `.rtf`, `.heic`, `.png`, `.jpg`/`.jpeg`, `.tiff`, `.gif`.

    **When to use:** Supporting documentation, prior agreements, ID verification, photos, exhibits.

    For full details on embedding uploaded files in output documents, see [Accept file uploads in your Gavel workflow](/workflows/file-uploads).
  </Accordion>

  <Accordion title="Repeating Item">
    A looping question group that collects the same set of sub-questions for an undefined number of entries. The respondent adds as many entries as needed.

    **When to use:** Any data that could have zero to many instances — children, beneficiaries, assets, parties, shareholders, prior employers.

    For full details on setup and document syntax, see [Repeating items: collect list data in workflows](/workflows/repeating-items).
  </Accordion>
</AccordionGroup>

***

## Informational blocks

These are not input questions — they display information or control the flow of the questionnaire without collecting a response.

<AccordionGroup>
  <Accordion title="Instruction">
    Displays a block of text with a **Continue** button. The respondent reads the instructions and proceeds. No data is collected.

    **When to use:** Welcome messages, legal disclaimers, instructions before a complex section, explanatory context between question groups.
  </Accordion>

  <Accordion title="Kickout Page">
    A decision or termination page with no input fields. Use a Kickout Page to route users to a custom message or outcome based on their prior answers — for example, notifying them that they are ineligible, directing them to contact your office, or presenting a decision without generating any documents.

    **When to use:** Ineligibility screens ("Based on your answers, you do not qualify..."), expert system endpoints, jurisdiction-specific routing.
  </Accordion>
</AccordionGroup>

***

## Integration questions

<AccordionGroup>
  <Accordion title="Clio Contact and Clio Matter">
    Pulls data directly from a [Clio contact or matter record](https://helpdocs.gavel.io/workflows/clio). You can enable predictive autofill so the respondent starts typing a name and Gavel retrieves matching records from Clio. All mapped fields from the Clio record populate automatically.

    **When to use:** Workflows that draw on existing client or matter data already stored in Clio, eliminating duplicate data entry.
  </Accordion>

  <Accordion title="CSV Data Source">
    Lets the respondent search and select a row from an uploaded CSV spreadsheet. All data from that row becomes available as variables in your output documents. The CSV file is managed centrally in your account and can be updated at any time.

    **When to use:** Lookup tables (attorney information, fee schedules, jurisdiction-specific provisions), reference data that changes over time but follows a consistent structure.

    <Note>
      CSV files must be uploaded under **Files → CSV files** before you can add a CSV Data Source question to a workflow. CSV files are shared across all workflows in your account.
    </Note>

    **Steps to add your CSV file to your account**

    1. There must be two columns in your CSV. If you only need one column of information, the second column requires a header but can otherwise be blank.
    2. From your dashboard, go to Files, CSV files, and then select “Upload New CSV.”
    3. Designate Whether the CSV Has Private Data. The Private Data setting restricts access to workflows that use this CSV to Builder Users only. It is checked by default. If you want Organizational Users and Users to be able to answer a CSV Data Source question that uses this file, uncheck the Private Data box.
    4. Set the Unique Column: This is a column that contains unique values. It is used internally to pull the latest data during document generation.
    5. Set the Display Column: These are the columns that will be displayed to the user taking the workflow for rows matching their input.
    6. Set the Searchable Columns: The CSV Data Source question allows you to search the data from one or multiple columns by typing in the search box, and then populating your choice.

    **Variable syntax in documents:**

    ```text theme={null}
    {{ CSVVariableName['Column_Name'] }}
    ```

    **Example:**

    ```text theme={null}
    {{ AttorneyName['Address_Line_1'] }}
    ```

    [**Advanced Formatting Options found here.**](https://helpdocs.gavel.io/workflows/clio#advanced-clio-variable-syntax)
  </Accordion>
</AccordionGroup>

***

## Question settings

Every question in Gavel supports additional settings accessible through the **Settings** tab on the question panel:

* **Informational text (info bubble):** Add explanatory text that appears as a help tooltip on the questionnaire, visible to respondents who need clarification.
* **Default value:** Pre-populate a field with a value that appears before the respondent types anything. The respondent can change it.
* **Character limits:** Set minimum and maximum character counts for text inputs.
* **Required / optional:** Control whether the respondent must answer before proceeding.
