=== User Registration Using Elementor Form ===
Contributors: ahmedmostafa
Donate link: https://ahmedmoustafa.me/
Tags: elementor, registration, user registration, custom registration, elementor pro
Requires at least: 5.2
Tested up to: 6.9
Requires PHP: 7.2
Stable tag: 1.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Build beautiful, custom registration flows using the Elementor drag-and-drop builder—no coding required.

== Description ==

User Registration Using Elementor Form is the most flexible way to handle user sign-ups on your WordPress site. It allows you to use Elementor Pro's Form widget as a fully functional user registration form.

= Features =
* **Custom Field Mapping**: Map any Elementor form field to WordPress user data (Username, Email, First Name, Last Name, etc.).
* **Email Verification**: Ensure valid sign-ups with a built-in email verification system.
* **Phone Login Support**: Allow users to log in using their phone number instead of just username or email.
* **Real-time Validation**: Interactive feedback for password requirements, username availability, and email uniqueness.
* **WooCommerce Integration**: Automatically syncs registration data with WooCommerce billing fields.
* **Redirection Control**: Redirect users to a custom login page after they verify their email.

== Installation ==

1. Upload the plugin folder to the `/wp-content/plugins/` directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. In Elementor Pro, add a "Form" widget to your page.
4. Under "Actions After Submit", add the "User Registration" action.
5. Configure the field mapping in the "User Registration" section that appears.

== Frequently Asked Questions ==

= Does it require Elementor Pro? =
Yes, this plugin extends the "Form" widget which is a feature of Elementor Pro.

= Can I use it for WooCommerce? =
Absolutely! It is perfect for creating custom WooCommerce registration pages and even syncs the billing phone field.

== Screenshots ==

1. Configure the "User Registration" action in the Elementor Form widget.

== Changelog ==

= 1.1 =
* Added real-time password validation (uppercase, special characters, length).
* Added real-time phone number uniqueness check.
* Added real-time confirm password matching.
* Automated field detection (no more manual CSS classes needed).
* Improved phone login reliability.

= 1.0 =
* Initial release.
