---
title: "FormOptions"
source: "https://github.com/remix-run/remix/blob/8905f3943706e1f53696ab83e70a84873cabfc90/packages/fetch-router/src/lib/route-helpers/form.ts#L10"
---

# FormOptions

## Summary

Options for generating a paired `index`/`action` form route map.

## Signature

```ts
interface FormOptions {
  formMethod?: RequestMethod
  names?: { action?: string; index?: string }
}

```

## Properties

### `formMethod`

The method the `<form>` uses to submit the action.

### `names`

Custom names to use for the `index` and `action` routes.