Dynamic Forms Builder for Magento 2
A Magento 2 form builder with 13 field types, including file upload, date and phone. Forms run as their own page or as a widget, submissions are saved to an admin grid, and an admin email and an optional auto-reply go out.
- Free
- Themes listed: Hyvä + Luma
composer require mage2kishan/module-dynamic-forms
- Package requirementsRead the source documentation
- Developer profileView Upwork profile
- Themes listedHyvä + Luma
- PHP versions listed8.1, 8.2, 8.3, 8.4
- Installation questionsDiscuss your store setup
What it does for your store
The main features, as listed in the module documentation.
-
Admin Form Builder
Add fields, drag them into order and set label, width, required flag and JSON rules.
-
13 Field Types
Text, email, phone, number, select, multi-select, checkbox, radio, file, date, hidden and more.
-
Page, Widget or Both
A standalone page at /pages/url-key, a CMS widget, or a layout XML block.
-
Admin Email and Auto-Reply
Notification with CC and BCC, plus an optional auto-reply with hourly limits.
-
Safe File Uploads
Random names outside the web root, extension and content type checks, admin-only download.
-
Spam Checks
Form key, honeypot field and a content check for spam links and wording.
Installation
Example commands from the Magento root. Follow the package instructions and your staging and deployment process.
- 1Check the releaseMatch Magento, PHP, theme and dependency requirements.
- 2Install on stagingReview Composer changes and follow the package instructions.
- 3Configure and verifyUse the documented settings and test the affected features.
$ composer require mage2kishan/module-dynamic-forms $ bin/magento setup:upgrade $ bin/magento setup:di:compile $ bin/magento setup:static-content:deploy -f $ bin/magento cache:clean
Listed requirements
These are the details supplied in this listing. Confirm the selected release supports your Magento edition, PHP and storefront.
| Magento versions listed | 2.4.6, 2.4.7, 2.4.8 |
|---|---|
| PHP versions listed | 8.1, 8.2, 8.3, 8.4 |
| Themes listed | Hyvä, Luma |
| Composer package | mage2kishan/module-dynamic-forms |
Documentation
Product details and setup guidance. Check the package repository for release-specific instructions.
Build Magento 2 forms in the admin
Dynamic Forms lets a store administrator build custom forms in the Magento 2 admin, put them on the storefront and review what people send in an admin grid. Each form has its own fields, success message, optional redirect URL, notification email and optional auto-reply. Typical uses are quote requests, event sign ups, trade account applications and short surveys.
Fields and validation
The field builder offers 13 types: Text, Textarea, Email, Phone, Number, Dropdown, Multi-Select, Checkbox, Radio Buttons, File Upload, Date, Hidden and WYSIWYG Editor. You drag fields into order and set a label, placeholder, default value, required flag, CSS class and width of full, half or one third. The server checks required fields, email and phone format, numbers, choice values against their options, and optional JSON rules for min_length, max_length, min, max and pattern.
Three ways to place a form
- A standalone page at /pages/your-url-key, with its own meta title, description, robots value, canonical link and JSON-LD.
- The Dynamic Form widget or the matching widget directive in any CMS page or block.
- A layout XML block that takes a form_id argument.
A form can be limited to one store view. Submission happens over AJAX with inline field errors, then a success message or a redirect.
Submissions and email
Every accepted submission is saved with the field values, customer email and name when known, IP address, store and a status of New, Read, Replied or Closed. The submissions grid has keyword search, filters, mass delete and a mass status update, and the detail page lets you change the status and keep internal notes. There is no export action in this version.
The admin notification goes to the address set on the form, with CC and BCC. The optional auto-reply can use placeholders for the name, email, form name and store name, and it is capped per recipient and per IP address each hour, 2 and 5 by default. Guests are always greeted as Customer in the auto-reply, so the name they typed is never repeated back.
File uploads
Files are uploaded before the form is sent and stored under var/dynamicforms/uploads, outside the web root, with a random name. Each upload is checked against the allowed extensions, a size limit of 10 MB by default and the detected content type, and HTML, SVG, script and executable types are always refused. Only admins with the Manage Submissions permission can download files. An hourly cron job deletes uploads that no submission uses after 24 hours.
Spam protection
Every submission needs a valid form key. A hidden honeypot field and a content check drop messages with link shortener domains, money transfer wording, three or more links or a URL in a short field, while the sender still sees the normal success message. The reCAPTCHA fields in the settings are not used by this version.
Hyvä and Luma
The module ships a Hyvä template built with Alpine.js and a Luma template that uses jQuery, and it picks the right one through Panth_Core.
Requirements and install
The README lists Magento Open Source and Adobe Commerce 2.4.4 to 2.4.8. Composer requires PHP 8.1, 8.2, 8.3 or 8.4 and mage2kishan/module-core, which it installs for you. Install with composer require mage2kishan/module-dynamic-forms, then run setup:upgrade, static content deploy and a cache refresh. Setup creates four tables for forms, fields, submissions and submitted values.
Dynamic Forms is free and open source under the MIT License. See the package README for every setting and the changelog for each release.
Developer notes
These names are from release 1.2.11 of the package.
- Module
Panth_DynamicForms, namespacePanth\DynamicForms. No plugins, preferences or observers are registered. - Frontend route
dynamicformswithform/view,form/submitandform/upload.Controller\Router(sort order 60) matches standalone pages atpages/<url_key>. Admin routepanth_dynamicforms. Block\Widget\DynamicFormselects the Hyvä or Luma template and providesgetFormConfig()andgetFieldsJson().Helper\DatahassendAdminNotification(),sendAutoReply()and the upload path methods.- In a custom template, call
$block->getAntiSpamFieldsHtml()inside the form. If a template leaves it out, the block injects the honeypot into the first form tag it finds. - Widget id:
panth_dynamic_form. Email templates:panth_dynamicforms_email_admin_email_templateandpanth_dynamicforms_email_autoreply_email_template. - Model event prefixes:
panth_dynamic_form,panth_dynamic_form_field,panth_dynamic_form_submissionandpanth_dynamic_form_submission_value. - ACL resources:
Panth_DynamicForms::main,::form,::submissionand::config. - Tables:
panth_dynamic_form,panth_dynamic_form_field,panth_dynamic_form_submissionandpanth_dynamic_form_submission_value. Fields, submissions and values are removed by cascade when their parent is deleted.
| Module Category | Forms & Communication |
|---|---|
| Best For | All Sizes |
Changelog
-
1.2.11, 2026-10-30
- Released under the MIT License: this module is free and open-source software.
-
1.2.10, 2026-10-06
- Form fields on both stores follow the shared form style. Inputs and selects are 46px tall and white, with a 1px #D4D4D4 border, 8px corners, 16px text at every width (15px on desktop before) and a 2px teal focus ring. Textareas use 16px text. Labels are 14px semibold in #171717. Help and error text is 14px (12px before), with errors in #B91C1C.
- The submit button is 44px tall (48px and full width on phones) with 15px semibold text. Before, it was about 52px tall with 16px bold text.
- The form card has a 1px border, 12px corners and no shadow. The form title is 28px bold (24px on phones) and the description is 16px. On a standalone form page the page title is 36px (28px on phones).
- The file upload area uses a 1px dashed border with 14px text.
FAQ
How many forms can I create?
There is no limit on the number of forms. Each form has its own fields, settings and submissions.
Can I add conditional logic (show field B if field A equals X)?
No. Fields are always shown; this version has no conditional logic.
Does the module support multi-step / wizard-style forms?
No. Every form is a single step.
Are file uploads secure?
Files are stored under var/dynamicforms/uploads, outside the web root, with a random file name. Each upload is checked against the allowed extensions, the size limit and the detected content type, and HTML, SVG, script and executable types are always refused. Admins download files from the submission page, which needs the Manage Submissions permission.
Can I integrate with my CRM (Salesforce, HubSpot, Zoho)?
There is no built in CRM connector. Submissions use the event prefix panth_dynamic_form_submission, so a developer can add an observer or a plugin on the submit controller to send the data on. The field values are saved right after the submission row, so load them from panth_dynamic_form_submission_value.
Does it work with Magento's built-in reCAPTCHA?
Not in this version. The reCAPTCHA fields in the settings are not read by the code. Spam is handled by the form key check, the honeypot field and the content check.
Does this replace Magento's default "Contact Us" form?
It can sit next to it. Build the form, set it to a standalone page or a widget and link to it or place it on a CMS page. The core /contact route is not a CMS page, so the core contact form stays until you remove or redirect it.
Can I translate form labels?
Fixed messages such as validation errors go through Magento translation. Labels, placeholders and messages you type for a form are shown as entered, so build one form per store view language and set its Store ID.
Does the module comply with GDPR?
The module does not delete submissions on a schedule and has no special consent field. You can add a required Checkbox field for consent and remove old submissions with mass delete in Form Submissions. Each submission stores the IP address, so mention that in your privacy notice.
Questions before you install?
Send me your composer.json and I will check for conflicts first. Free. Installation is +$45, custom work is quoted first.