Coco Form Lite
A minimal wordpress contact form plugin without styling. support reCAPTCHA V3, save entries to database, and export csv pdf
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/adikica/coco-form-lite/archive/refs/heads/main.zipCoco Form Lite — Refactor Pack (Structure-Preserving)
This package keeps your exact working logic and reorganizes the plugin into a clean layout:
coco-form-lite.php— Bootstrap and autoloaderincludes/PostTypes.php— Registerscoco_formandcoco_form_entryincludes/AdminMenu.php— Admin menu, Forms list, create/edit, toggle, clone, settingsincludes/AdminActions.php— Dedicated admin actions (duplicate, etc.)includes/AdminEntries.php— Entries list, filters, bulk actions, CSV/PDF(html) exportincludes/Shortcode.php— Frontend rendering, inline assets, per-form nonce, messagesincludes/Submit.php— AJAX endpoint: validation, spam checks (time, honeypot, words), reCAPTCHA v3, email send, redirectincludes/Email.php— Email headers builder (From/Reply-To/Cc/Bcc) & helperstemplates/demo-form.html— Starter form HTMLtemplates/mail-template.html— Email template placeholders
Workflow
- Create a Form (Coco Form Lite → Forms). Set metadata: recipients, subject, from, success message, button label, redirect URL, spam rules, active flag. Paste your custom form HTML.
- Embed with
[coco_form id="ID"]wherever needed. - Front-end: Shortcode injects nonce/hidden fields and inline JS. reCAPTCHA v3 is executed on submit if configured.
- Submit: AJAX validates (nonce, timing, honeypot, forbidden words, reCAPTCHA), stores entry, sends HTML email, and returns redirect/success.
- Entries: Use Entries admin to filter by form, paginate, bulk actions, and export CSV or HTML (for PDF printing).
Notes
- This pack avoids functional changes to respect your confirmed-stable behavior.
- Future step: add inline docblocks inside each method if you want deeper commentary without altering any behavior.