=== brainX Form Connector ===

Contributors: brainformatik, brainxgmbh
Tags: crm, forms, ninja forms, formidable forms, integration
Requires at least: 6.0
Tested up to: 6.9
Stable tag: 1.0.2
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

== Description ==

Connect Ninja Forms and Formidable Forms to brainX CRM for seamless form data transfer.

This plugin integrates WordPress form plugins with Brainformatik's brainX CRM system, allowing automatic transfer and management of submitted form data.

== External Services ==

This plugin connects to the Brainformatik brainX CRM system via the Brainx.app API.

1. **What the service is and what it is used for:**

* The plugin connects to the user's configured brainX CRM instance.
* It enables sending form submission data from WordPress to the CRM.

2. **What data is sent and when:**

* Data is sent when a form is submitted.
* The API request includes:

  * User-configured field mappings
  * Form data entered by the user
  * Entity ID for CRM record association

3. **External service policies:**

* Terms of Service: https://www.brainx.app/agb.pdf
* Privacy Policy: https://www.brainx.app/datenschutzerklaerung/

== External Libraries ==

This plugin includes the following third-party library:

Select2
Source: https://github.com/select2/select2
Version: 4.1.0-rc.0
License: MIT License (GPL-compatible)

The file `assets/select2.min.js` is a minified distribution file provided by the Select2 project. The original source code is available at the link above.

== Installation ==

1. Upload the plugin folder to the `/wp-content/plugins/` directory.
2. Activate the plugin through the 'Plugins' screen in WordPress.

== Frequently Asked Questions ==

= How do I use this plugin? =

1. Configure your brainX CRM API connection.
2. Select your Ninja Forms or Formidable Form.
3. Map form fields to CRM fields.
4. Save settings — form submissions will now be sent automatically.

= How do I uninstall the plugin? =

Deactivate and delete the plugin from the WordPress admin panel.

== Screenshots ==

1. Plugin configuration
2. Forms overview
3. Field mapping interface
4. API debug view

== Changelog ==

= 1.0.2 =

* Fix versioning

= 1.0.1 =

* Update README.md
* Add missing asset images
* Update version

= 1.0.0 =

* Initial release.
