Configuration API: Modifying Forms

You can add or remove fields from forms. Doing so allows you to control what data may be included in the form submissions to your Capture application. Forms can also have features, which add different types of functionality to forms.

Form Features

Currently, the only feature available to forms is captcha. The captcha feature adds Google reCaptcha to the form rendered by the Capture widget.

Below is an example of a form with captcha enabled:


{
  "features": [
    {
      "name": "captcha"
    }
  ],
  "fields": [
    {
      "name": "firstName",
      "required": true
    },
    {
      "name": "lastName",
      "required": true
    }
  ]
}