Docs: admin languages and texts, wording rule for agents, new screen names

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Radosław Smoliński
2026-10-27 15:46:25 +01:00
co-authored by Claude Opus 5.5
parent 6b46bc0c14
commit 0a2374db18
45 changed files with 443 additions and 360 deletions
+5 -5
View File
@@ -58,7 +58,7 @@ checkbox, **Checkbox group** (multiple choice, min/max), message, **Step** (spli
country, state (on by default in form-builder, rendered as a text field).
Turning a type off: `forms.fields: { country: false, state: false }`.
- **Multi-step form:** the editor inserts a **Step** block (title, description) — the fields below it form one
screen. The Next/Back buttons and "Step 1 of 3" come from **Notifications → Form messages** (next, back,
screen. The Next/Back buttons and "Step 1 of 3" come from **Form messages → Form messages** (next, back,
stepOf). Next validates only the current step; a server error returns to the step with the field; focus
moves to the new step. No Step = one screen.
- `width` ≤ 50 → class `fieldHalf`, otherwise `fieldFull`.
@@ -121,8 +121,8 @@ Details the seed already covers, which you check after every manual change in th
body `{{*:table}}`) **and** confirmation to the sender (`emailTo: {{email}}`) — both mandatory.
The email field must have `name: 'email'` (the plugin accepts exactly one address in it).
5. **Analytics (GTM / dataLayer)**: Event name `generate_lead` / `form_submit`, parameters `form_name`.
6. **Site Integrations**: mail transport (SMTP/Graph) + **Send test**; Turnstile keys.
7. **Notifications → form.\***: texts in every language.
6. **Site integrations**: mail transport (SMTP/Graph) + **Send test**; Turnstile keys.
7. **Form messages → form.\***: texts in every language.
## 6. Check it yourself before you say "done"
- [ ] submitting with empty required fields → errors at the fields, no request;
@@ -132,7 +132,7 @@ Details the seed already covers, which you check after every manual change in th
- [ ] unticked consent → a message from Notifications (not the English fallback);
- [ ] 6 quick submissions → `rate_limited`;
- [ ] Turnstile with keys → widget visible; submitting without solving the widget → `turnstile`;
wrong secret → the form goes through, and the panel (dashboard + Site Integrations → Turnstile) shows a red alert;
wrong secret → the form goes through, and the panel (dashboard + Site integrations → Turnstile) shows a red alert;
- [ ] Turnstile without keys → no widget, the form goes through;
- [ ] second language → labels and messages in that language;
- [ ] GTM Preview → an event with the name from the panel after success;
@@ -146,7 +146,7 @@ Details the seed already covers, which you check after every manual change in th
| no Forms collection in the panel | form-builder vs payload version mismatch → same version, `pnpm.overrides` |
| the block renders nothing | `form` is an ID (`depth` too low) or `formTexts`/`sendForm` missing in enhanceProps |
| `reason: 'validation'`, `kind: 'unknown_fields'` | the frontend sends a field the form does not have (custom renderer with an extra field, typo in `name`) |
| "Next/Back" buttons in English | empty Notifications → Form messages → next / back / stepOf in that language |
| "Next/Back" buttons in English | empty Form messages → next / back / stepOf in that language |
| `reason: 'not_found'` | `formId` from another database (seeded on dev, another ID on prod) — use a relationship from the panel, not a fixed ID in code |
| submission exists, no email | missing `email: mailAdapter()`, empty Emails tab, transport in the panel; server logs |
| always `turnstile` | wrong key pair / domain in Cloudflare (BuilderForm resets the token after an error) |