PHPackages                             crazycat/module-magento2-forms - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. crazycat/module-magento2-forms

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

crazycat/module-magento2-forms
==============================

Customized forms management for Magento 2

1.0.1(4y ago)10OSL-3.0PHPPHP ~7.4.0

Since Oct 2Pushed 4y ago1 watchersCompare

[ Source](https://github.com/zengliwei/magento2_forms)[ Packagist](https://packagist.org/packages/crazycat/module-magento2-forms)[ RSS](/packages/crazycat-module-magento2-forms/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

Customized forms management for Magento 2
=========================================

[](#customized-forms-management-for-magento-2)

Help to create and handle customized forms, show as widgets.

Administrator will receive an email after customer submitting a form, and is able to check submit records through `CONTENT / Forms / Post Records` in admin panel.

Installation
------------

[](#installation)

1. Execute this command to download the module through composer:
    `composer require crazycat/module-magento2-forms`
2. Execute these commands to enable the modules:
    `php bin/magento module:enable CrazyCat_Base`
    `php bin/magento module:enable CrazyCat_Forms`
3. Execute these commands to update database, recompile and flush cache:
    `php bin/magento setup:upgrade`
    `php bin/magento setup:di:compile`
    `php bin/magento cache:flush`

How to use
----------

[](#how-to-use)

### Create a Form

[](#create-a-form)

1. Create a template file under CrazyCat\_Forms folder of theme directory, for example: `[root]/app/design/frontend/[Vendor]/[theme]/CrazyCat_Forms/templates/forms/inquiry.phtml`
2. Create a form through admin panel: `CONTENT / Forms / Forms > Add New Form`

    - Form Name - Form name to show in form list, post record list and widget management
    - Identifier - Unique key of the form
    - Email Sender - To select a sender from the list of which options are same with store config email identities
    - Recipients - Recipients emails, separated by comma
    - Renderer - To render elements through customize a template or configure elements
    - Template - Template path like `CrazyCat_Forms::forms/inquiry.phtml`
    - Elements - Configure elements
3. Create a `Form` widget through widget management or insert one through WYSIWYG editor to show in storefront

### Form Template

[](#form-template)

Here is an example of email template:

```

```

Several key points need to be noted:

- Form method must be `post`
- Form action must be `$block->escapeUrl($block->getFormAction())`
- Hidden fields are required: `$block->getHiddenInputHtml()`
- Name of post elements must be wrapped with `data[]`

### Form Elements

[](#form-elements)

Using Configure Elements as renderer means that elements in the block will be rendered with **UI components**.

The element management is a drag and drop box, it provides some common types of frontend model and validation to choose.

**Configuration** column of the elements is to add JavaScript settings for related UI component.

### CAPTCHA

[](#captcha)

Administrator is able to enable the CAPTCHA through switching this setting in admin panel:
`STORES / Settings / Configuration > SECURITY / Google reCAPTCHA Storefront > Storefront / Enable for Customized Forms`

And fill in `Google API Website Key` and `Google API Secret Key` of the related service.

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1735d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/40283074?v=4)[CrazyCat](/maintainers/crazy-cats)[@crazy-cats](https://github.com/crazy-cats)

---

Top Contributors

[![zengliwei](https://avatars.githubusercontent.com/u/18208460?v=4)](https://github.com/zengliwei "zengliwei (14 commits)")

### Embed Badge

![Health badge](/badges/crazycat-module-magento2-forms/health.svg)

```
[![Health](https://phpackages.com/badges/crazycat-module-magento2-forms/health.svg)](https://phpackages.com/packages/crazycat-module-magento2-forms)
```

###  Alternatives

[elgentos/regenerate-catalog-urls

Regenerate Catalog URL Rewrites (products, categories, cms pages)

2842.6M](/packages/elgentos-regenerate-catalog-urls)[nosto/module-nostotagging

Increase your conversion rate and average order value by delivering your customers personalized product recommendations throughout their shopping journey.

27703.7k4](/packages/nosto-module-nostotagging)[tig/postnl-magento2

TIG Magento 2 PostNL extension

59570.5k5](/packages/tig-postnl-magento2)[myparcelnl/magento

A Magento 2 module that creates MyParcel labels

1860.2k](/packages/myparcelnl-magento)[loki/magento2-components

Core module for defining Alpine.js components with advanced AJAX features

1011.8k26](/packages/loki-magento2-components)[zwernemann/module-withdrawal

Magento 2 EU Withdrawal Button Module - Adds a withdrawal/revocation button for orders in compliance with EU Directive (EU) 2023/2673

244.9k2](/packages/zwernemann-module-withdrawal)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
