Update Form is a WordPress ability from Ninja Forms — usable via Easy MCP AI, which connects Claude, ChatGPT, and any AI assistant to your site.
Install Free Plugin →Update Form
WriteUpdate a form's settings — title, display, submission limits, calculator currency, and more.
Requires the Ninja Forms plugin on WordPress 6.9+ for the Abilities API (all 32 abilities are registered only when the wp_register_ability() function exists, via NF_Abilities_Integration::load_abilities_api() running on plugins_loaded). Every ability is gated by the same ninja_forms_ability_can_manage_forms() permission callback, requiring the caller to hold WordPress's manage_options capability or Ninja Forms' own nf_edit_forms capability.
What it does
This ability updates any subset of a form's dashboard-level settings: title, title visibility and heading level, default label position, post-submission behavior (clear/hide), AJAX submit, login requirement, public-link access, submission limits and their message, custom CSS classes, and the currency used by calculator forms. Only the fields supplied are changed; everything else on the form is left untouched. This lets an AI assistant make configuration tweaks — like raising a submission cap or switching a form to require login — directly from a conversation instead of the user opening the form's Settings tab.
See it in action
You ask your AI assistant
"Update form 12 so it requires users to be logged in and caps submissions at 500."
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
| form_id | integer | Yes | The numeric ID of the form to update. |
| title | string | No | Form title. |
| show_title | boolean | No | Show the form title. |
| form_title_heading_level | string | No | Heading level for the form title (1-6). |
| default_label_pos | string | No | Default field label position: above, below, left, right, or hidden. |
| clear_complete | boolean | No | Clear the form after a successful submission. |
| hide_complete | boolean | No | Hide the form after a successful submission. |
| allow_public_link | boolean | No | Allow public preview link access. |
| logged_in | boolean | No | Require users to be logged in to submit. |
| wrapper_class | string | No | Custom CSS class for the form wrapper. |
| element_class | string | No | Custom CSS class for form elements. |
| currency | string | No | Currency code (USD, EUR, etc.) for calculator/payment forms. |
Returns
An object with a 'success' boolean, the 'form_id', an 'updated' object reflecting the changed settings, and a 'message'.
Permission
The current user must have WordPress's 'manage_options' capability or Ninja Forms' own 'nf_edit_forms' capability (checked via the shared ninja_forms_ability_can_manage_forms() permission callback).
More Ninja Forms abilities
Add Action
Add a post-submission action to a form — email, redirect, success message, or save.
Add Calculation
Add a calculator formula to a form for use in calc fields and conditional logic.
Add Field
Add a single field to an existing form, to be called once per field when building out a form.
Create Form
Create a new Ninja Forms form, optionally with fields, actions, and calculations, in a single call.
Delete Action
Permanently delete an action from a form.
Delete Calculation
Permanently delete a calculation from a form.