# US state

## Overview

The `fr:us-state` component allows you to select one of the 50 US states (plus Puerto Rico and the District of Columbia).

![](/files/-LEkC2Z4RXzLxhzahDDr)

## Usage

You use `fr:us-state` like a regular XForms control:

```xml
<fr:us-state ref="residence-state">
    <xf:label>State of residence</xf:label>
</fr:us-state>
```

## See also

* [US Employer Identification Number (EIN)](/form-runner/component/us-ein.md)
* [US Phone Number](/form-runner/component/us-phone.md)
* [US Social Security Number (SSN)](/form-runner/component/us-ssn.md)


---

# 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://doc.orbeon.com/form-runner/component/us-state.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.
