Description
A WordPress plugin that adds a standalone "Send PDF" action to Breakdance forms — fully configured in the Breakdance UI, with no hardcoded fields or branding.
On submission it:
- Evaluates a set of conditional rules (each rule = a condition on a form field) to choose the recipient and the rich-text content for the document.
- Renders that content into a branded PDF (mPDF).
- Emails it with a short summary in the body, the PDF attached, and uploaded files attached alongside (optional).
It is standalone and does not modify or replace any other email/notification action you may have. Add "Send PDF" alongside your existing Actions After Submission.
The controls
PDF Content & Recipient Rules
- Rules (repeater) — each rule has:
- Field / Condition / Value — when this rule matches (e.g.
request_reasonEqualsService Call Request). - Send To — recipient for this rule.
- PDF Content — rich text with the
{field}variable picker (and an{all_fields}token). This is what gets rendered into the PDF. - First matching rule wins.
- Field / Condition / Value — when this rule matches (e.g.
- Default Recipient — used when no rule matches.
- Default PDF Content — used when no rule matches.
- PDF Title — heading at the top of the PDF (supports field variables).
Email Settings
- Subject, From Email, From Name, Reply To, CC, BCC (all support field variables where relevant).
- Email Body (summary) — short rich-text summary shown in the email body (full detail lives in the attached PDF).
- Attach uploaded files — also attach any files the visitor uploaded.
PDF Appearance
- Logo URL — optional logo in the PDF header (blank → the site name is shown).
- Brand Colour — hex colour for the header rule and title.
- Footer Text — optional footer line (blank → the site name is used).
Per-condition content
Add one rule per condition, each with the field/condition/value that should match and the matching PDF content.

