FLW Contact Form
A lightweight Gutenberg block for fast, flexible, and reliable contact formsâno shortcodes, no bloat, and no external services.
Who is it for
- Site owners and bloggers: Add a clean contact form in minutes, right from the Block Editor.
- Agencies and freelancers: Ship dependable forms without heavy form builders or vendor lockâin.
- Editors and marketers: Customize labels, fields, and success messaging without developer help.
- Privacyâminded teams: Keep data on your siteâsubmissions are sent via email, not stored in a thirdâparty service.
Why this plugin
- Native to Gutenberg: Configure everything in the block sidebarâfields, labels, alignment, recipient, subject, and more.
- Fast UX: AJAX submission with a polished modal for success/error feedback.
- Spamâresistant by design: Honeypot, timestamp checking, and IP rate limitingâno CAPTCHA required.
- No bloat: Minimal, modern JS and CSS. No jQuery, no massive dependencies.
- Works with your email setup: Uses WordPress wp_mail() and respects SMTP plugins. Adds ReplyâTo headers for direct replies.
Key features
- Custom fields: Text, Email, Textarea, Tel, Number, Select, Checkbox (with commaâseparated choices).
- Editor controls: Recipient email (fallback to admin email), subject, ReplyâTo field, button alignment, success message.
- AJAX + modal feedback: Smooth, inâplace submit with clear messaging.
- Spam protection: Hidden honeypot, client timestamp checks, IP rate limiting (5 per 10 minutes).
- Email formatting: Clean HTML email with labeled fields and ReplyâTo support.
- Design controls: Button alignment (left/center/right/justify), supports block alignments (wide/full) and spacing (margin/padding).
- Translationâready: Text domain flwcontactform.
- Polished details: Plugin icons in update screens.
Requirements and compatibility
- WordPress: 6.0+ (tested up to 6.6)
- PHP: 7.4+
- Plugin dependency: flwsecureupdates must be installed/active.
- REST API: WordPress REST API must be available (enabled by default).
- Themes: Compatible with block and classic themes using the Block Editor.
- Email: Works with default mail or SMTP plugins (e.g., WP Mail SMTP).
How it works
- Add the âFLW Contact Formâ block.
- Configure fields and settings in the sidebar.
- Publish and receive submissions via email. No data stored on the server beyond transient rateâlimit counters.
Privacy and security
- No external services: All requests go to your siteâs REST endpoint.
- No submission storage: Messages are sent via email; nothing is retained in the database by default.
- Serverâside validation: Required fields and email addresses are validated before sending.
Quick start
- Insert âFLW Contact Formâ in any post or page.
- Set recipient, subject, and success message.
- Publish and testâdone.
- Delivered concise website copy covering audience, value prop, features, and requirements based on README.md, block.json, and code behavior.
