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

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

jcabanillas/yii2-dynamicform
============================

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

2671JavaScriptCI failing

Since Jun 25Pushed 5y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

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

[](#yii2-dynamicform)

[![Latest Version](https://camo.githubusercontent.com/9b091d396f3b2c2b44b4fde8eaea34dafaba6436858643e5ce8c4535431552a5/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6a636162616e696c6c61732f796969322d64796e616d6963666f726d2e7376673f7374796c653d666c61742d737175617265)](https://github.com/jcabanillas/yii2-dynamicform/releases)[![Software License](https://camo.githubusercontent.com/6c324d0bb845bc5b85b46c869926297d6b25f3652c9d3ef94c0f8995b34b65f1/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d425344332d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/400dcc655fefbc1d79024e3c40d607f28e67222d8b44fb46a8bc1bcc6bf44167/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6a636162616e696c6c61732f796969322d64796e616d6963666f726d2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/jcabanillas/yii2-dynamicform)

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

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

[](#installation)

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

Either run

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

```

or add

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

```

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

Demos
-----

[](#demos)

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

Usage
-----

[](#usage)

### Hypothetical Scenario

[](#hypothetical-scenario)

[![Database](https://camo.githubusercontent.com/8bdad27877c2fc327b51c508d72900e5c9839703d595280104bc2011d529dc30/68747470733a2f2f6a636162616e696c6c61732e636f6d2f696d672f796969322d64796e616d6963666f726d2f6879706f746865746963616c2d7363656e6172696f2e6a7067)](https://camo.githubusercontent.com/8bdad27877c2fc327b51c508d72900e5c9839703d595280104bc2011d529dc30/68747470733a2f2f6a636162616e696c6c61732e636f6d2f696d672f796969322d64796e616d6963666f726d2f6879706f746865746963616c2d7363656e6172696f2e6a7067)

### The View

[](#the-view)

```
