=== Pixxi Forms ===
Contributors: devmizan
Tags: forms, pixxi, crm, contact form, lead capture
Requires at least: 5.0
Tested up to: 6.4
Stable tag: 1.0.2
Requires PHP: 7.4
License: GPLv3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Send form submissions to Pixxi CRM with support for Listing and General form types.

== Description ==

Pixxi Forms connects your WordPress site to Pixxi CRM. Add contact and inquiry forms via shortcodes; submissions are sent to your Pixxi CRM API with configurable field mapping.

**Features:**

* **Listing forms** – Property-specific forms that assign leads to the listing agent. Requires a property ID (e.g. from Houzez theme).
* **General forms** – Flexible forms for general inquiries.
* **Shortcodes** – `[pixxi_listing_form]` and `[pixxi_general_form]` with options for form_id, property_id, and show_labels.
* **Field mapping** – Map custom fields to extraData sent to Pixxi CRM.
* **API configuration** – Set API token and endpoint URL in Settings.

**Privacy & external services:**

This plugin sends form submission data (name, email, phone, and any custom fields) to the Pixxi CRM API endpoint you configure. No data is sent to the plugin author’s servers. Configure your API URL and token under Pixxi Forms → Settings.

== Installation ==

1. Upload the plugin files to `/wp-content/plugins/pixxi-forms/` or install via WordPress admin.
2. Activate the plugin through the **Plugins** screen.
3. Go to **Pixxi Forms → Settings** and enter your Pixxi CRM API token and endpoint URL.
4. Create forms under **Pixxi Forms → Manage Forms** and use the provided shortcodes on your pages.

== Frequently Asked Questions ==

= Where do I get the API token? =

Get your API token from Pixxi CRM → Admin → Integrations → Pixxi Forms.

= What is the Form ID? =

The Form ID is the identifier for the form in Pixxi CRM. You get it from your Pixxi CRM form configuration.

== Changelog ==

= 1.0.2 =
* Version bump.

= 1.0.1 =
* WordPress.org guideline compliance: escaping, sanitization, nonces, readme, uninstall handling, license.

= 1.0.0 =
* Initial release. Listing and general forms, shortcodes, field mapping, API settings.

== Upgrade Notice ==

= 1.0.2 =
Version update.

= 1.0.1 =
Security and guideline updates for WordPress.org compatibility.
