Update Contact Form 7 form
fabrement-update-cf7-formUpdate a Contact Form 7 form — send only what changes. template REPLACES the form body whole and re-derives the mail from the tags in it, so edit the markup get-cf7-form returns rather than sending a fragment: what you leave out is gone. messages patches only the keys sent ("" resets one to the default). get-cf7-form first.
Rules: get-skill-doc {id:"forms-contract"} — read it before the first call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | New form title (omit to keep). | |
| formId | Yes | Form id from list-forms. | |
| subject | No | Notification email subject line. | |
| messages | No | CF7 "Messages" tab as {key: text} — mail_sent_ok, validation_error, invalid_required, invalid_email, … (get-cf7-form lists every key with its current text and default). Only the keys sent change; "" resets one to the default; unknown keys are refused. | |
| template | No | The FULL CF7 form markup, replacing what is there — get-cf7-form returns the current one to edit. Same rules as create-cf7-form: your HTML around CF7 [tags], [submit "…"] for the button, a reserved control name (name, search, author, page, …) refused rather than renamed, at most 40 controls. | |
| recipient | No | Email address the submissions are sent to. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| form | Yes |