> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

# Resource: Form Restrictions

# Type: Restrictions Object

# Link: https://dev.wix.com/docs/api-reference/crm/forms/form-restrictions/restrictions-object.md

## Description: The form limits and premium features in force for a site.

These values come from the site's premium plan and change when the plan changes. Creating or updating a form that
exceeds a limit, or that uses a feature absent from `features`, is rejected.

Not to be confused with form provider restrictions, which a form schema provider declares once for every site in a
namespace it owns, independently of any site's plan. A form must satisfy both.

## Schema:

```json
 Type: Restrictions Object | type: PremiumRestrictions
 Description: The form limits and premium features in force for a site.

These values come from the site's premium plan and change when the plan changes. Creating or updating a form that
exceeds a limit, or that uses a feature absent from `features`, is rejected.

Not to be confused with form provider restrictions, which a form schema provider declares once for every site in a
namespace it owns, independently of any site's plan. A form must satisfy both.
       - name: formsLimit  | type: Limit | description: Maximum number of forms allowed on the site.  Compare this limit with `totalFormCount`, which counts the same set of forms. Forms in the trash bin aren't counted.
           - name: limit  | type: number | description: Maximum number allowed.  `null` when the plan places no limit.
               - name: value  | type: number | description: 
           - name: warnThreshold  | type: number | description: Count at which to warn that the limit is close to being reached.  An absolute count in the same unit as `limit`, never greater than it. Reaching this count doesn't block the action; it's the point at which to surface a nearing-limit warning. For some limits it equals `limit`, meaning there's no early warning.  `null` when `limit` is `null`.
       - name: fieldsLimit  | type: Limit | description: Maximum number of input fields allowed per form.  Display elements, such as rich content and the submit button, don't count toward this limit.
       - name: stepsLimit  | type: Limit | description: Maximum number of steps allowed per form.
       - name: conditionsLimit  | type: Limit | description: Maximum number of rules allowed per form.  Use `rulesLimit` instead. Despite its name, `conditionsLimit` is enforced against the number of rules on a form, not the number of conditions inside them. It's still returned, always with the same value as `rulesLimit`.
       - name: emailsLimit  | type: Limit | description: Maximum number of email recipients that can be notified when a form is submitted.
       - name: features  | type: Array<Feature> | description: Premium features the site's plan allows.  Any feature absent from this list is unavailable on the site, and a form that uses it is rejected.
           enum: UNKNOWN_FEATURE, FILE_UPLOAD_FIELD, ACCEPT_PAYMENTS, REMOVE_WIX_BRANDING, SIGNATURE_FIELD, FILE_DOWNLOAD
       - name: ascendPlan  | type: string | description: Ascend by Wix plan the site holds.  `NOT_ASCEND` when the site isn't on an Ascend plan. The limits and features that follow from the plan are already reflected in the other fields, so most callers don't need to read this field.
           enum: NOT_ASCEND, FREE, BASIC, PROFESSIONAL, UNLIMITED
       - name: rulesLimit  | type: Limit | description: Maximum number of rules allowed per form.  A single rule's `condition` can combine several tests, and the rule still counts once against this limit.

```