Get Ninja Form Fields
Lists the fields on a Ninja Forms form in order, with each one's label, key, type, whether it is required and the choices it offers. Read-only. Submission values are keyed by these field keys, so read this before interpreting submissions. Call mosmcp/ninjaforms-list-forms first for the form ID.
Also known as: form fields, form questions, what the form asks.
| Property | Value |
|---|---|
| Ability slug | mosmcp/ninjaforms-get-form-fields |
| Wire tool name | mosmcp__ninjaforms-get-form-fields |
| Category | Ninja Forms (mosmcp-ninja-forms) |
| Plan | Pro |
Required access
| Requirement | Value |
|---|---|
| Capability | manage_options |
| Minimum default role | Administrator |
| Annotations | readOnly: true · destructive: false · idempotent: true · openWorld: false |
Input schema
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| form_id | integer (min 1) | Yes | — | The Ninja Forms form ID, as returned by mosmcp/ninjaforms-list-forms. |
Output schema
| Field | Type | Required | Description |
|---|---|---|---|
| form_id | integer | Yes | |
| title | string | ||
| count | integer | Yes | |
| fields | object[] | Yes | |
| fields[].field_id | integer | Yes | |
| fields[].key | string | Yes | The key this field's value appears under in a submission. |
| fields[].label | string | Yes | |
| fields[].admin_label | string | The shorter label Ninja Forms shows in its submissions table and exports, when one is set. | |
| fields[].type | string | Yes | Ninja Forms field type, for example textbox, email, listselect, listcheckbox or repeater. |
| fields[].required | boolean | ||
| fields[].description | string | ||
| fields[].options | string[] | Choices, for fields that offer a fixed set. | |
| fields[].sub_fields | string[] | For a repeater, the labels of the fields repeated inside it. | |
| fields[].holds_value | boolean | False for fields Ninja Forms never stores, such as HTML, dividers, the submit button, captchas and passwords. | |
| notes | string[] |
| << Previous | Next >> |
|---|---|
| Export Ninja Forms Submissions as CSV | List Ninja Forms |
For more information about the Secure MCP Server for WordPress plugin, explore the following resources:
Product Overview | Pricing | Try for Free | Documentation
If you have any questions regarding plugin configuration, pricing plans or licensing, please contact us or mail us at aisupport@xecurify.com.