=== AgentForms ===
Contributors: agentforms
Tags: forms, contact form, embed, API
Requires at least: 6.0
Tested up to: 6.7
Stable tag: 1.0.0
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Embed AI-powered forms from AgentForms directly in your WordPress site. Zero backend logic — all processing on agentforms.io.
== Description ==
AgentForms is an official WordPress plugin that lets you embed your AgentForms forms anywhere on your WordPress site. Perfect for contact forms, lead generation, surveys, and more.
**Features:**
* Embed forms via shortcode or Gutenberg block
* Fetches form configuration from agentforms.io with 24-hour caching
* Client-side validation with conditional field support
* Multi-step form navigation
* Honeypot spam protection
* Light and dark themes
* Zero backend processing — all form logic on agentforms.io
**Form Types Supported:**
* Text, email, phone, date, number inputs
* Textarea, select dropdowns, radio buttons, checkboxes
* Conditional field visibility
* Multi-step forms with progress bar
* Computed/readonly fields
== Installation ==
1. Upload the `agentforms` folder to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Go to AgentForms > Settings to configure defaults
4. Use `[agentforms token="your-token"]` shortcode or the Gutenberg block
== Changelog ==
= 1.0.0 =
* Initial release
* Shortcode and Gutenberg block support
* Conditional fields and multi-step forms
* Light/dark theme support
* 24-hour config caching
== Frequently Asked Questions ==
= Where do I get my form token? =
Your form token is available in your AgentForms dashboard under each form's embed settings.
= Can I use this on multiple sites? =
Yes. Each form token works independently. Install the plugin on any number of WordPress sites.
= How does caching work? =
Form configurations are cached for 24 hours. Clear the cache from AgentForms > Settings if you need to force a refresh.
== Screenshots ==
1. Shortcode usage: [agentforms token="your-token"]
2. Gutenberg block with form token setting