PHPackages                             logitrade/yii2-dynamicform - 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. logitrade/yii2-dynamicform

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

logitrade/yii2-dynamicform
==========================

It is widget to yii2 framework to clone form elements in a nested manner, maintaining accessibility.

2.0.4(6mo ago)00BSD-3-ClauseJavaScript

Since Oct 31Pushed 6mo agoCompare

[ Source](https://github.com/logitrade/yii2-dynamicform)[ Packagist](https://packagist.org/packages/logitrade/yii2-dynamicform)[ RSS](/packages/logitrade-yii2-dynamicform/feed)WikiDiscussions master Synced 1mo ago

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

yii2-dynamicform
================

[](#yii2-dynamicform)

[![Latest Version](https://camo.githubusercontent.com/be3f43b976bcc1223133b7175495d312f0b2931d7663f3e595cd0a0151285b4e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f7762726167616e63612f796969322d64796e616d6963666f726d2e7376673f7374796c653d666c61742d737175617265)](https://github.com/wbraganca/yii2-dynamicform/releases)[![Software License](https://camo.githubusercontent.com/6c324d0bb845bc5b85b46c869926297d6b25f3652c9d3ef94c0f8995b34b65f1/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d425344332d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/7a7589a82a40332f2d5592182ce96cdac34ffcb9066bac6945cc6763bcccd808/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7762726167616e63612f796969322d64796e616d6963666f726d2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/wbraganca/yii2-dynamicform)

It is widget to yii2 framework to clone form elements in a nested manner, maintaining accessibility. [![yii2-dynamicform](https://camo.githubusercontent.com/4c0475e681990810f02cbadfe088f217474222801776e2cccb692f0564f7dca3/68747470733a2f2f7762726167616e63612e636f6d2f696d672f796969322d64796e616d6963666f726d2f73616d706c652e6a7067)](https://camo.githubusercontent.com/4c0475e681990810f02cbadfe088f217474222801776e2cccb692f0564f7dca3/68747470733a2f2f7762726167616e63612e636f6d2f696d672f796969322d64796e616d6963666f726d2f73616d706c652e6a7067)

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist wbraganca/yii2-dynamicform "*"

```

or add

```
"wbraganca/yii2-dynamicform": "*"

```

to the require section of your `composer.json` file.

Demos
-----

[](#demos)

- [Demo 1](https://wbraganca.com/yii2extensions/dynamicform-demo1/) - (Address Book).
- [Demo 2](https://wbraganca.com/yii2extensions/dynamicform-demo2/) - (File Upload).
- [Demo 3](https://wbraganca.com/yii2extensions/dynamicform-demo3/) - (Nested Dynamic Form).

Usage
-----

[](#usage)

### Hypothetical Scenario

[](#hypothetical-scenario)

[![Database](https://camo.githubusercontent.com/699f67030f8f58e56c0661b2752cde852891e580a56c77ae91e6a57c77096a44/68747470733a2f2f7762726167616e63612e636f6d2f696d672f796969322d64796e616d6963666f726d2f6879706f746865746963616c2d7363656e6172696f2e6a7067)](https://camo.githubusercontent.com/699f67030f8f58e56c0661b2752cde852891e580a56c77ae91e6a57c77096a44/68747470733a2f2f7762726167616e63612e636f6d2f696d672f796969322d64796e616d6963666f726d2f6879706f746865746963616c2d7363656e6172696f2e6a7067)

### The View

[](#the-view)

```
