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

ActiveYii2-extension

fosker/yii2-dynamicform
=======================

Forked wbraganca/yii2-dynamicform with fixes.

033JavaScript

Since Mar 29Pushed 9y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)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/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 fosker/yii2-dynamicform "dev-master"

```

or add

```
"fosker/yii2-dynamicform": "dev-master"

```

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

```
