=== Hamranik Forms ===
Contributors: mrebipro
Tags: forms, contact form, shortcode, entries, drag and drop
Requires at least: 6.2
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.3
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Lightweight drag-and-drop form builder for WordPress with shortcode publishing, stored entries, and email notifications.

== Description ==

Hamranik Forms is a standalone WordPress form builder. Create forms in the admin builder, publish them with a shortcode, validate submissions, store entries, and notify your team by email.

Every field shown in the builder is included and works. There is no Pro lock, trial, or paid field upsell in this zip.

= Features =

* Drag-and-drop builder for text, textarea, email, phone, URL, number, date, time, date and time, select, radio, checkbox, range, rating, address, national ID, hidden, content, and file upload fields
* Shortcode publishing for pages, posts, and widgets
* Server-side validation, nonce checks, honeypot, and basic rate limiting
* Entries list and detail view in WordPress admin
* Per-form success message, submit label, recipient email, and notification toggle
* Optional file uploads stored in your WordPress uploads directory (PDF, images, text, and Word documents, up to 5 MB)

= External services =

This plugin does **not** send form data to Hamranik servers or any third-party form API.

* **Email notifications** use WordPress `wp_mail()`. Delivery depends on your site mail setup.
* **File uploads** are stored on your WordPress site through the WordPress upload API.

== Installation ==

1. Upload the `hamranik-forms` folder to `/wp-content/plugins/`.
2. Activate Hamranik Forms from the Plugins screen.
3. Go to `Hamranik Forms > Add New`.
4. Build a form, set it to Active, and copy the generated shortcode.
5. Place the shortcode in any page or post.

== Frequently Asked Questions ==

= Does Hamranik Forms require WooCommerce or Hamranik Hub? =

No. The plugin is standalone.

= Are some builder fields locked behind Pro? =

No. Fields in the builder palette work in this plugin. Payment, signature, repeater, calculated, and WooCommerce product fields are not included because they need extra services or engines.

= Does the plugin add a credit on my public pages? =

No. Published forms do not force a Hamranik logo, tagline, or link. Optional author information lives in wp-admin under About Hamranik and can be dismissed.

= How are translations shipped? =

The plugin includes a `.pot` file. Language packs from WordPress.org replace bundled translations after the plugin is hosted there.

== Screenshots ==

1. Drag-and-drop form builder in WordPress admin.
2. Published form on the front end.

== Changelog ==

= 1.0.3 =
*  Admin help UI: translated labels use textContent/setAttribute only (no concatenation into innerHTML).

= 1.0.2 =
* Enqueued remaining admin JavaScript with wp_enqueue_script and wp_add_inline_script.

= 1.0.1 =
* Directory package: removed the Vazir font files. Admin and front end use system fonts.
* Replaced Alpine.js with plugin-owned JavaScript for form submit state.

= 1.0.0 =
* Production release for the WordPress.org directory.
* Added directory assets: 256x256 icon, 1544x500 banner, and both screenshots.
* Prefixed builder script localization as `hamranik_forms_builder`.
* WordPress.org zip excludes compiled `.po` / `.mo` files; `.pot` remains.

= 0.4.4 =
* Prepared the plugin for WordPress.org Plugin Check: prefixed custom-table SQL, translator comments, and readme Tested up to 7.0.
* Reworded the dismissible About screen as author credit (no premium upsell).

= 0.4.3 =
* Replaced the Hamranik logo in admin section headers with the product name and a short feature list.
* Kept the dismissible About Hamranik credit with logo and website CTA.

= 0.4.2 =
* Shipped Alpine.js unminified source next to alpine.min.js for Plugin Check.
* Replaced PHP gettext hijacking with standard load_plugin_textdomain on init plus .pot/.po/.mo files.
* Limited Hamranik logo and credit to the dismissible About screen.
* Prefixed admin script and style handles as hamranik-forms-*.

= 0.4.1 =
* Removed Pro field locks and Ã¢â‚¬Å“available in ProÃ¢â‚¬Â alerts from the builder.
* Enabled working phone, URL, number, date, time, radio, range, rating, address, hidden, content, and file upload fields.
* Aligned plugin version with the readme Stable tag.
* Added GPL-2.0-or-later license header, LICENSE file, and Alpine.js MIT notice.
* Made the admin About Hamranik credit dismissible.

= 0.4.0 =
* Seeded inbox and queued email preview for the public demo.
* Honeypot and server-side validation walkthrough.

= 0.3.1 =
* Added HTML email notifications for form submissions.
* Added global settings for storage, notifications, privacy, and rate limiting.
* Improved release documentation and uninstall cleanup.

= 0.3.0 =
* Added standalone drag-and-drop form builder.
* Added shortcode rendering, validation, anti-spam checks, entries management, and email notifications.

== Upgrade Notice ==

= 1.0.1 =
Directory zip without bundled Vazir or Alpine. Existing forms keep working.

= 1.0.0 =
First production directory release. Forms and entries are unchanged; review Settings after updating.
