A drag and drop form builder with jQuery for Yii2 which built upon to jQuery FormBuilder plugin.


The preferred way to install this extension is through composer.

Either run

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

or add

"meysampg/yii2-formbuilder": "*"

to the require section of your composer.json file.


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

and use it as a widget:


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

PropertyTypeDescriptionDefault Value
accessVariableNamestringJavaScript variable name for accessing to formbuilder contents in JS codes'formBuilderJsVariable'
dataarraylist of elements for rendering as default elements of form builder
dataTypestringindicates 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 language
languagestringDesired language for showing form builder (See translation section)
optionsarraylist of plugin options, see FormBuilder Documentations
showActionButtonsbooleanindicates that control buttons be showed or notfalse


yii2-form builder

yii2-form builder

yii2-form builder

Prakash S

Prakash S

I would like to introduce myself as a Software professional opting for the career in software industry. I'm Prakash S, a MCA graduate and trained as industry level practice for Software technology. Basically I am a PHP Developer but now days exploring more in HTML5, CSS, AngularJS and jQuery libraries.