=== Kamboj Form Builder ===
Contributors: mohitkamboj55
Tags: contact form, form builder, submissions, email, webhook
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.4.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Build contact forms visually, collect submissions, send email notifications, and connect webhooks — no coding required.

== Description ==

Kamboj Form Builder is a lightweight WordPress contact form plugin with a visual form builder, submission inbox, spam protection, and flexible email notifications.

= Features =

* Visual drag-and-drop form builder
* Shortcode embed: `[kmfb_form id="123"]`
* Email notifications to one or multiple recipients
* Optional confirmation email to the person who submitted the form
* Submission inbox with read/unread status
* CSV export
* Honeypot and rate limiting anti-spam
* Conditional field logic
* Webhook support (Zapier, Slack, custom APIs)
* Customizable validation messages
* GDPR-friendly consent field
* Privacy tools integration (export/erase personal data)

= Perfect for =

* Contact pages
* Lead capture forms
* Support request forms
* Simple surveys and feedback forms

== Installation ==

1. Upload the `kamboj-form-builder` folder to the `/wp-content/plugins/` directory, or install through the WordPress Plugins screen.
2. Activate the plugin through the **Plugins** screen.
3. Go to **Kamboj Form Builder → Add New** to create your first form.
4. Copy the shortcode and paste it into any page or post.

== Frequently Asked Questions ==

= How do I display a form? =

Use the shortcode shown in the form list or editor, for example: `[kmfb_form id="123"]`

= Can I send notifications to multiple email addresses? =

Yes. In the form editor, open the **Email** tab and enter multiple addresses separated by commas.

= Can I send a confirmation email to the visitor? =

Yes. In the **Email** tab, enable **Send confirmation email to submitter** and customize the subject and body. The plugin sends it to the email address submitted in the form.

= Does this plugin store submissions? =

Yes, if **Store submissions in inbox** is enabled for the form (enabled by default). Submissions are stored in your WordPress database.

= What data is collected? =

The plugin stores whatever fields you add to your form (such as name and email), plus the visitor IP address and user agent for spam protection when submissions are stored.

= Does the plugin call external services? =

Only if you configure a webhook URL on a form. Email is sent using your WordPress site’s built-in `wp_mail()` function.

== Screenshots ==

1. All forms list with shortcodes and actions
2. Visual form builder with live preview
3. Submissions inbox
4. Email and settings configuration

== Changelog ==

= 1.4.1 =
* Plugin Check: prefixed template and uninstall variables

= 1.4.0 =
* Rebranded to Kamboj Form Builder for WordPress.org.

= 1.3.3 =
* Field width option: full, half (2 per row), or one third (3 per row)
* Responsive layout stacks fields on mobile

= 1.3.2 =
* Sanitize form builder JSON payload on save

= 1.3.1 =
* Plugin Check compatibility fixes

= 1.3.0 =
* WordPress.org directory compatibility
* Privacy policy and personal data export/erase support
* Uninstall cleanup option
* Improved admin asset loading

= 1.2.8 =
* Multiple notification recipients
* Confirmation email to submitter with on/off toggle
* Removed top validation error summary box

= 1.2.7 =
* UI fixes for delete button overflow and required toggle

= 1.2.5 =
* Duplicate and delete forms from the list
* Clickable form names

= 1.2.0 =
* Initial public release as Kamboj Form Builder

== Upgrade Notice ==

= 1.4.1 =
Plugin Check prefix fixes for template variables.

= 1.3.3 =
Adds per-field width controls for multi-column form layouts.

= 1.3.2 =
Sanitizes form builder save payload for Plugin Check compliance.

= 1.3.1 =
Plugin Check and WordPress 7.0 compatibility fixes.

= 1.3.0 =
Recommended update for WordPress.org compatibility and privacy tools support.

== Privacy Policy ==

This plugin may store form submission data in your WordPress database, including personal information entered by visitors (such as name and email), IP address, and browser user agent. Email notifications are sent through your server using WordPress `wp_mail()`. If you configure a webhook URL, submission data is sent to that external URL. Use WordPress **Settings → Privacy** to review the suggested privacy policy text added by this plugin.
