PHPackages                             freimaurerei/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. [Templating &amp; Views](/categories/templating)
4. /
5. freimaurerei/yii2-dynamicform

ActiveYii2-extension[Templating &amp; Views](/categories/templating)

freimaurerei/yii2-dynamicform
=============================

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

2.0.4(7y ago)01.4kBSD-3-ClauseJavaScript

Since Nov 6Pushed 7y ago2 watchersCompare

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

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

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

[](#yii2-dynamicform)

[![Latest Version](https://camo.githubusercontent.com/68319af6aac64579221caa7ede5e5bda38513767813fc005cc0e8f1edafb0a16/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f667265696d617572657265692f796969322d64796e616d6963666f726d2e7376673f7374796c653d666c61742d737175617265)](https://github.com/freimaurerei/yii2-dynamicform/releases)[![Software License](https://camo.githubusercontent.com/6c324d0bb845bc5b85b46c869926297d6b25f3652c9d3ef94c0f8995b34b65f1/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d425344332d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/293eb60c651d82e30f3554689c320de9a81e25926bac652afb2463b5a9edf875/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f667265696d617572657265692f796969322d64796e616d6963666f726d2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/freimaurerei/yii2-dynamicform)

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

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](http://wbraganca.com/yii2extensions/dynamicform-demo1/) - (Address Book).
- [Demo 2](http://wbraganca.com/yii2extensions/dynamicform-demo2/) - (File Upload).
- [Demo 3](http://wbraganca.com/yii2extensions/dynamicform-demo3/) - (Nested Dynamic Form).

Usage
-----

[](#usage)

\###Hypothetical Scenario [![Database](https://camo.githubusercontent.com/101e97b389a1d44a9506fb86bf1a27d7b2ff09fe0e24250d7a961937ec72830d/687474703a2f2f7762726167616e63612e636f6d2f696d672f796969322d64796e616d6963666f726d2f6879706f746865746963616c2d7363656e6172696f2e6a7067)](https://camo.githubusercontent.com/101e97b389a1d44a9506fb86bf1a27d7b2ff09fe0e24250d7a961937ec72830d/687474703a2f2f7762726167616e63612e636f6d2f696d672f796969322d64796e616d6963666f726d2f6879706f746865746963616c2d7363656e6172696f2e6a7067)

\###The View

```
