=== EFE Visual Forms – Drag & Drop Contact Form, Survey & Quiz Builder ===
Contributors: efetech, dongtrinh
Tags: contact form, form builder, conditional logic, survey, quiz
Requires at least: 6.2
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 3.1.3
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Free drag-and-drop WordPress form builder with conditional logic, 40+ templates, database entries, multi-column layouts, surveys & scored quizzes.

== Description ==

**EFE Visual Forms** is a fast, modern drag-and-drop form builder for WordPress. Design responsive forms visually inside your dashboard with a real-time preview, show or hide fields with **free conditional logic**, and store unlimited submissions directly in your own WordPress database.

Whether you need a simple **contact form**, a **quote request form**, an **email newsletter signup**, a **customer feedback survey**, an **event or booking registration form**, or a **scored quiz**, you can launch in minutes from **40+ ready-made templates** or build from a blank canvas.

### Why Choose EFE Visual Forms?

* **Conditional Logic Included Free**: Dynamically show or hide fields based on user answers without paying for an upgrade.
* **Unlimited Forms & Database Entries**: Every submission is saved in your own WordPress database (`wp-admin > EFE Visual Forms > Entries`) — search, sort, filter columns, view, edit and manage entries with no monthly limits.
* **40+ Ready-to-Use Form Templates**: Instant templates for Contact, Newsletter Opt-In, Customer Survey, Event & Account Registration, Appointment Booking, B2B Wholesale Inquiry and Product Warranty Claim.
* **True Live Visual Builder**: Drag fields onto the canvas, click to edit labels and placeholders inline, customize colors, borders, spacing and typography, and switch between Desktop, Tablet and Mobile previews with Undo/Redo history.
* **Multi-Column Grid Layouts**: Build clean 2-column, 3-column or 4-column rows side by side without writing CSS.
* **Scored Quizzes & Custom Confirmations**: Assign point values to choice fields to show automatic quiz outcomes, display custom thank-you messages, or redirect visitors to any page or URL.
* **Multiple Email Notifications**: Send instant email alerts to admins, team members or respondents using dynamic merge tags (`{all_fields}`, `{form_title}` and per-field tags) plus CC/BCC support.
* **Built-In Conversion Elements**: Add promo banners, trust badges, countdown timers and FAQ accordions directly inside your forms.
* **Cache-Friendly & Fast**: Fetches a fresh REST security token right before submission so forms work reliably with full-page caching plugins (WP Rocket, LiteSpeed Cache, SiteGround Speed Optimizer, W3 Total Cache and Cloudflare).
* **Built-In Spam Protection**: Honeypot trap, per-IP submission rate limiting, and optional Google reCAPTCHA (v2 Checkbox or v3 Invisible) using your own keys.
* **Portable JSON Import & Export**: Duplicate forms in one click or export/import single forms and bundles as JSON across staging and live sites.
* **Embed Anywhere**: Drop the `[wpvfb id="YOUR_FORM_ID"]` shortcode into the WordPress Block Editor (Gutenberg), Classic Editor, Elementor, Divi, Bricks, Beaver Builder or WooCommerce pages.

### 25+ Built-In Field Types

* **Standard Inputs**: Single Line Text, Paragraph Textarea (with optional Rich Text editor), Email, Phone / Tel, Number, Website URL, Password and Hidden fields
* **Choice Fields**: Dropdown Select, Checkboxes, Radio Buttons and Switch Toggle
* **Structured Fields**: Full Name, Street Address, Date Picker and Time Picker
* **Compliance & Anti-Spam**: GDPR / Terms Consent Checkbox and Google reCAPTCHA (v2 / v3)
* **Layout & Conversion Blocks**: Multi-Column Grid, Section Heading, Rich Static Content, Custom HTML Block, Image, Promo Banner, Trust Badges, FAQ Accordion, Countdown Banner and Submit Button

### Popular Use Cases

* Contact us, support ticket and callback request forms
* Custom quote, B2B wholesale inquiry and service request forms
* Newsletter signup and lead generation opt-in forms
* Customer satisfaction surveys, polls and feedback forms
* Scored quizzes, assessments and Trivia / outcome forms
* Event RSVP, appointment booking and product warranty registration forms

### Pro Add-On

A separate commercial add-on, EFE Visual Forms Pro, is available from [EFE Technology](https://www.efe.com.vn/) for advanced workflows (such as multi-step & conversational forms, file uploads, signatures, calculated pricing formulas and popup display modes). It is a separate plugin; this free plugin is complete on its own and does not contain or lock any Pro code.

== Installation ==

### From your WordPress dashboard

1. Go to **Plugins > Add New**.
2. Search for **EFE Visual Forms**.
3. Click **Install Now**, then **Activate**.
4. Open **EFE Visual Forms** in the admin menu to pick a template or create your first form.

### Manual installation

1. Download the plugin ZIP file.
2. Go to **Plugins > Add New > Upload Plugin**.
3. Choose the ZIP file and click **Install Now**.
4. Activate the plugin from the **Plugins** screen.

### Creating your first form

1. Go to **EFE Visual Forms > Forms** and click **Create New Form** (or choose from 40+ templates).
2. Drag fields from the left panel onto the canvas and arrange 1–4 column rows.
3. Click any field to customize its label, placeholder, validation rules, conditional logic and styling.
4. Click **Save**, copy the shortcode (for example `[wpvfb id="1"]`) and paste it into any page, post or page builder widget.

== Frequently Asked Questions ==

= Is EFE Visual Forms really free with unlimited forms and entries? =
Yes. EFE Visual Forms is licensed under the GPL with no cap on the number of forms you create or the number of form submissions stored in your WordPress database.

= Is conditional logic included in the free version? =
Yes. You can add show/hide conditional logic rules to fields in the free plugin based on user selections in dropdowns, radio buttons, checkboxes, text or number inputs.

= Where are form submissions stored, and is it GDPR friendly? =
All entries are stored locally in your own WordPress database (`wpvfb_entries` table) and are never transmitted to our servers. Combined with the built-in Consent Checkbox field, this keeps you in full control of user data for GDPR and privacy compliance.

= How do I embed a form in Gutenberg, Elementor, Divi or Bricks? =
Copy the shortcode from the builder toolbar — for example `[wpvfb id="YOUR_FORM_ID"]` — and paste it into a Gutenberg Shortcode block, the Classic Editor, or the Shortcode / Text widget of Elementor, Divi, Bricks, Beaver Builder or WooCommerce product descriptions.

= Does it work with caching plugins like WP Rocket, LiteSpeed Cache or Cloudflare? =
Yes. Instead of printing a static nonce into cached HTML, the form requests a fresh security token from the WordPress REST API right before submission, preventing expired-token errors on cached pages.

= Can I send email notifications to multiple recipients or an autoresponder to the user? =
Yes. Under **Notifications**, you can configure multiple email notifications per form, each with custom recipients, CC/BCC addresses, subject lines and message bodies powered by dynamic field merge tags.

= Can I create scored quizzes or redirect visitors after form submission? =
Yes. Under **Confirmations**, you can display a custom confirmation message, redirect visitors to an internal WordPress page or external URL, or calculate points across choice fields to display a matching quiz result.

= Can I migrate or back up my forms between staging and production sites? =
Yes. From **EFE Visual Forms > Forms**, you can duplicate any form in one click or export single/multiple forms to a `.json` file and import them onto another WordPress site.

== External services ==

This plugin can connect to the following third-party services. Nothing is sent to them unless you configure the feature described below.

= Google reCAPTCHA =

Used only when you add a reCAPTCHA field to a form and enter your own reCAPTCHA site key and secret key.

* On pages that show such a form, the visitor's browser loads `https://www.google.com/recaptcha/api.js` from Google to display the challenge (v2) or compute a score (v3). Google receives the visitor's IP address, browser data and the page URL, as with any request to Google.
* When the form is submitted, your server sends the reCAPTCHA response token, your secret key and the visitor's IP address to `https://www.google.com/recaptcha/api/siteverify` to check that the submission is not spam.

The service is provided by Google: [Terms of Service](https://policies.google.com/terms), [Privacy Policy](https://policies.google.com/privacy).

= Google Fonts =

This free plugin does not load Google Fonts in the dashboard or on published forms; custom font selections fall back to local system font stacks unless your theme or a separate add-on already provides the font.

== Source code ==

The builder (`dist/assets/builder.js` and `builder.css`) is compiled with Vite from the React source included in the `src/` folder of this plugin (`package.json` and `vite.config.js` contain the build setup: `npm install && npm run build`).

Bundled third-party libraries (served from the plugin, not from a CDN): Font Awesome Free 5.15.4 (`assets/vendor/fontawesome`, Font Awesome Free License) and Quill 2.0.3 (`assets/vendor/quill`, BSD-3-Clause). See `assets/vendor/README.md`.

== Screenshots ==

1. Visual builder: drag fields onto the canvas, arrange multi-column rows and edit labels inline with live preview.
2. Template gallery: launch fast from 40+ ready-made contact, newsletter, booking, wholesale, warranty and survey templates.
3. Published form on the storefront: clean responsive rendering embedded with the `[wpvfb]` shortcode.
4. Entries manager: search, sort, filter, view and edit form submissions stored in your own WordPress database.
5. Free conditional logic: dynamically show or hide fields based on visitors' answers.

== Changelog ==

= 3.1.3 =
* Added 4 new free Survey and Scored Quiz templates (Customer Satisfaction & NPS Survey, Website & Marketing Readiness Quiz, Post-Event & Webinar Feedback Survey, and Solution & Workflow Fit Quiz), expanding the free template library to 42 templates.
* Pre-populated automatic Quiz Outcome scoring rules when creating or applying scored quiz templates.
* Improved card-style radio and checkbox choices so non-priced options render cleanly without a $0 label.

= 3.1.2 =
* Displayed the live plugin version dynamically in the builder sidebar.
* Improved compound Name field formatting in the Entries manager and CSV/Excel exports so full names display cleanly.
* Aligned the Conditional Logic flyout drawer directly below the WordPress admin bar and builder toolbar.

= 3.1.1 =
* Improved 1:1 visual consistency between the builder canvas and published forms across rich-text paragraphs, multi-select dropdowns, pill choices, consent checkboxes, FAQ accordions, countdown banners, HTML blocks, date dropdowns and name prefix selects.
* Added smart local serif and monospace fallback font stacks for custom typography with zero external font CDN requests.
* Refined layout wrapper output on date dropdown fields for cleaner multi-field form alignment.

= 3.1.0 =
* Initial public release of EFE Visual Forms.
* Visual drag-and-drop builder with live preview, multi-column grid sections and templates.
* Field types: text, paragraph (optional rich text), email, phone, number, URL, password, hidden, dropdown, checkboxes, radio, switch, name, address, date, time, consent, section, HTML, static content, image, promo banner, trust badges, FAQ accordion, countdown banner, reCAPTCHA and submit.
* Entry storage, email notifications with merge tags, confirmations (message, redirect, quiz result) and conditional logic.
* Styles and scripts are loaded with the WordPress enqueue functions; Font Awesome and Quill are bundled with the plugin.
* Shortcode output is escaped with an explicit allow-list of form markup.

== Upgrade Notice ==

= 3.1.3 =
Expands the free template library to 42 templates with 4 new Survey and Scored Quiz templates, automatic quiz outcome rules, and cleaner card-style choice rendering.

= 3.1.2 =
Cleaner full-name formatting in Entries, aligned Conditional Logic drawer below the WordPress admin bar, and dynamic builder version display.

= 3.1.1 =
Improved 1:1 visual alignment between the live form builder preview and published forms, with local typography fallback stacks and zero external font requests.

= 3.1.0 =
Initial release.
