---
order: 8
title:
  zh-CN: 多表单联动
  en-US: Form Provider
---

## zh-CN

通过 `FormProvider` 在表单间处理数据。本例子中，Modal 的确认按钮在 Form 之外，通过 `form.Submit` 方法调用表单提交功能。反之，则推荐使用 `<Button HtmlType="submit" />` 调用 web 原生提交逻辑。

## en-US

Use `FormProvider` to process data between forms. In this case, the form's submit button is in the modal, outside of the Form component. You can use `Form.Submit` to submit the form. We recommend using the native submit input by using `<Button HtmlType="submit" />` to submit a form.

