Manage forms
forms_manageLead-capture forms with a public link; each submission creates or updates a contact. action: list | templates | get (id) | create (name?, templateId?) | update (id + changes) | delete (id; the link stops working; confirm) | submissions (id; latest 200).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Form id. | |
| name | No | ||
| tags | No | Tag names put on each new lead (max 10). Replaces the list. | |
| intro | No | ||
| style | No | Colours "#rrggbb". {} = default look. Replaces the style. | |
| title | No | ||
| action | Yes | ||
| fields | No | [{ key, label, type: text|email|phone|textarea|select|address|date|checkbox|hidden|section, required?, options? (select), default? (hidden), text? (section) }]. Keys name, first_name, last_name, email, phone fill the contact. hidden = ?<key>= on the link. Replaces the list. | |
| createTask | No | Also make a follow-up task per submission. | |
| templateId | No | From action templates. | |
| redirectUrl | No | After submit, go here ("" = successMessage). | |
| submitLabel | No | ||
| successMessage | No |