PHPackages                             meysampg/yii2-formbuilder - 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. meysampg/yii2-formbuilder

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

meysampg/yii2-formbuilder
=========================

A drag and drop form builder with jQuery for Yii2

v1.2.7(4y ago)3516.3k↓40.9%26[2 PRs](https://github.com/meysampg/yii2-formbuilder/pulls)MITPHP

Since Oct 8Pushed 3y ago6 watchersCompare

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

READMEChangelog (10)Dependencies (2)Versions (15)Used By (0)

Yii2 Form Builder
=================

[](#yii2-form-builder)

🟥⚠️ *THIS PACKAGE IS ABANDONED. PLEASE SELECT ANOTHER PACKAGE OR FORK THIS REPOSITORY AND INFORM ME ON p.g.meysam \[at\] Gmail \[dot\] com TO REFER TO YOUR PACKAGE IN PACKAGIST* ⚠️🟥

A drag and drop form builder with jQuery for Yii2 which built upon to [jQuery FormBuilder](https://github.com/kevinchappell/formBuilder) plugin.

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

[](#installation)

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

Either run

```
composer.phar require meysampg/yii2-formbuilder "*"

```

or add

```
"meysampg/yii2-formbuilder": "*"

```

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

Usage
-----

[](#usage)

Once the extension is installed, simply use it in your code by:

```
use meysampg\formbuilder\FormBuilder;
```

and use it as a widget:

```

```

Configurations
--------------

[](#configurations)

There are some properties that let you to easily control over form builder.

PropertyTypeDescriptionDefault ValueaccessVariableNamestringJavaScript variable name for accessing to formbuilder contents in JS codes`'formBuilderJsVariable'`dataarraylist of elements for rendering as default elements of form builderdataTypestringindicates that input and output data must be XML or JSON`'xml'`elementTypestringHTML tag for form builder constructor`'div'`messagesarraylist of label strings on a desired languagelanguagestringDesired language for showing form builder (See translation section)optionsarraylist of plugin options, see [FormBuilder Documentations](http://formbuilder.readthedocs.io/en/latest/)showActionButtonsbooleanindicates that control buttons be showed or not`false`Examples
--------

[](#examples)

```

```

[![screen shot 2016-10-08 at 13 00 02](https://cloud.githubusercontent.com/assets/1416085/19212100/2bf6c7e4-8d57-11e6-8d5d-48bea1ceb042.png)](https://cloud.githubusercontent.com/assets/1416085/19212100/2bf6c7e4-8d57-11e6-8d5d-48bea1ceb042.png)

---

```
