﻿=== Inboxify Form Connector ===
Contributors: inboxify
Tags: inboxify, contact form 7, ninja forms, wpforms, signup form
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 8.0
Stable tag: 1.0.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Connect form plugins to Inboxify and automatically send new submissions to your contact list.

== Description ==

The Inboxify Form Connector lets you connect form plugins to the Inboxify API. Once configured, form submissions are automatically sent to your contact list in Inboxify.

Currently supported form plugins:
- Contact Form 7
- Ninja Forms
- WPForms

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/inboxify-form-connector` directory, or install the plugin through the WordPress plugin screen directly.
2. Activate the plugin.
3. Go to *Form Connector* under *Settings*.
4. Enter your Inboxify API credentials and set up form mappings.

== Frequently Asked Questions ==

= Will support for other form plugins be added? =
Yes! Fluent Forms is being considered next.

= Where do I get my Inboxify API keys? =
Log in to your Inboxify account and go to *Instellingen > API en webhooks*.

== Screenshots ==

1. Plugin interface with new and existing mappings
2. Example of a filled-in WPForms signup form on the website
3. Contact visible in the Inboxify contact list after successful submission

== Privacy ==

This plugin connects to the Inboxify API to send form submissions. The data is only transmitted when the site administrator has configured a valid API key and mapped a form. No data is collected or transmitted without user action.

For more information, see [Inboxify's privacy policy](https://www.inboxify.eu/privacyverklaring).

== Changelog ==

= 1.0.2 =
* Sanitized decoded JSON input from POST (`mappings`) directly after decoding to comply with WordPress plugin guidelines.
* Renamed JavaScript global variable from `inboxifyFieldConfig` to `inboxifyFcFieldConfig` to follow naming conventions and avoid conflicts.
* Minor code cleanup and consistency improvements.

= 1.0.1 =
* Improved code consistency by adding `inboxify_fc_` prefix to all option keys, actions, and filters
* Added migration logic to preserve user settings from previous version
* Minor code clean-up and preparations for future extensibility

= 1.0.0 =
* Initial release with support for Contact Form 7, Ninja Forms, and WPForms
* Automatic submission handling
* Mapping interface and field configuration

== Upgrade Notice ==

= 1.0.2 =
Improved security and compliance with WordPress plugin guidelines.

= 1.0.1 =
This update improves security and compatibility by renaming internal option keys and hooks. Existing settings will be migrated automatically.

= 1.0.0 =
First stable release