內容簡介
Trinity Forms 是一款快速且簡單的 WordPress 聯絡表單及表單建構器,完全基於 Gutenberg 區塊。用戶可以輕鬆拖放欄位、設置條件邏輯、收集提交資料並透過電子郵件接收通知,還能防止垃圾郵件並將所有資料匯出為 CSV。
【主要功能】
• 拖放式表單建構器(Gutenberg 區塊)
• 20 種欄位類型供選擇
• 12 種現成的表單範本
• 自動計分的測驗功能
• 條件邏輯支援無限條件
• 內建資料儲存於 WordPress 資料庫
外掛標籤
開發者團隊
原文外掛簡介
Trinity Forms is a fast, no-frills WordPress contact form and form builder built
entirely on Gutenberg blocks. Drag fields onto the canvas, set up conditional
logic, collect submissions in your WordPress database, get notified by email,
block spam, and export everything to CSV — with no usage caps and no phone-home.
Features
Drag-and-drop form builder (Gutenberg blocks)
20 field types — text, email, textarea, select, radio, checkbox, number,
range slider, name, phone, address, country, date, time, hidden, HTML,
page break, section, rating, consent
Starter template library — 12 ready-made forms (contact, quote, event,
appointment, RSVP, newsletter, support, feedback, job application, order,
volunteer, testimonial)
Results report — turn any form into a survey or poll: per-option counts,
percentages and averages across all submissions
Quiz scoring — mark correct answers + points on choice fields; submissions
are scored automatically, with {quiz_score} / {quiz_max} merge tags
Conditional logic with unlimited conditions
Native entry storage in the WordPress database — no external service
Admin entries list + per-entry detail view
CSV export of all entries
Email notifications with merge tags
Spam protection — honeypot, time-trap and an optional CAPTCHA (Cloudflare Turnstile, Google reCAPTCHA v2, or hCaptcha)
Per-form and global data retention controls
Unlimited forms and unlimited submissions
External services
Trinity Forms does not contact any external service by default.
If — and only if — you enable a CAPTCHA challenge for a form and enter your own
keys for the chosen provider under Trinity Forms Settings, the plugin contacts that
provider to verify that submissions are not from bots. You choose one provider:
Cloudflare Turnstile — widget script https://challenges.cloudflare.com/turnstile/v0/api.js; verification POST to https://challenges.cloudflare.com/turnstile/v0/siteverify. Terms: https://www.cloudflare.com/website-terms/ · Privacy: https://www.cloudflare.com/privacypolicy/
Google reCAPTCHA v2 — widget script https://www.google.com/recaptcha/api.js; verification POST to https://www.google.com/recaptcha/api/siteverify. Terms: https://policies.google.com/terms · Privacy: https://policies.google.com/privacy
hCaptcha — widget script https://js.hcaptcha.com/1/api.js; verification POST to https://api.hcaptcha.com/siteverify. Terms: https://www.hcaptcha.com/terms · Privacy: https://www.hcaptcha.com/privacy
In each case the widget script loads only on pages that display a CAPTCHA-protected
form, and on submission the entered token, your secret key and the visitor’s IP
address are sent to the selected provider to validate the challenge. This happens
only when you enable a CAPTCHA and configure its keys.
Development
Trinity Forms is fully open source (GPLv2-or-later) and ships entirely uncompiled
alongside its build output, so no external download is needed to read or rebuild it.
All PHP is human-readable and shipped as-is (there is no PHP build step).
The Gutenberg block SOURCE is included in this plugin under blocks/. Every compiled
file build/
blocks//index.js — e.g. build/field-checkbox/index.js comes from
blocks/field-checkbox/index.js, and build/form-block/index.js from
blocks/form-block/ (index.js, edit.js, save.js). Shared helpers live in
blocks/field-shared.js. Nothing in build/ is authored by hand.
The build uses @wordpress/scripts (https://www.npmjs.com/package/@wordpress/scripts),
with the source and output directories set explicitly in package.json:
npm install
npm run build (runs: wp-scripts build –webpack-src-dir=blocks –output-path=build)
Running that regenerates build/ from blocks/. No other build step is required.
