# Function useFormAction

- useFormAction(action?, __namedParameters?): string

- #### Parameters

  - `Optional` action: string
  - `Optional` __namedParameters: {
    relative?: RelativeRoutingType;
    }

    - ##### `Optional` relative?: RelativeRoutingType

  #### Returns string

  - Defined in common/temp/node_modules/.pnpm/react-router-dom@6.23.1_react-dom@18.3.1+react@18.3.1/node_modules/react-router-dom/dist/index.d.ts:252