Wiki articles in category Tips tagged with "form"

Showing 1-2 of 2 items.

Create Form With DynamicModel

Created 4 years ago by Misbahul D Munir, updated 4 years ago by Misbahul D Munir.

In yii2 we can create form without create FormModel. Here we go

2 0
7 followers
Viewed: 29 828 times
Version: 2.0
Category: Tips
Tags: form, model, yii2

FORM with GET method causes repeated stacking of URL Parameters

Created 4 years ago by Kartik V, updated 4 years ago by toph.

// In Yii 1.x $form = $this->beginWidget('CActiveForm', [

'id' => 'order-search-form',
'method' => 'get',

]); echo $form->textInput($searchModel, 'id'); echo CHtml::submitButton('Find', ['class' => 'btn btn-primary']); $this->endWidget(); `

4 2
40 followers
Viewed: 42 302 times
Version: all
Category: Tips