Wiki

Articles tagged with "model", sorted by ratingX
Displaying 21-23 of 23 result(s).

Add model validator in Controller

Created 3 months ago by Kostas Apazidis (KonApaz)Tips4 comments – viewed 2,765 times – ( +1 / -1 ) – version 1.1
There are cases that model validators should be depended by controller/action and you couldn't manipulate on the model class or using scenarios in easy way

Save or Update Multiple related model values in one Tabular input form

Created 8 months ago by Kostas Apazidis (KonApaz)Tutorials4 comments – viewed 6,397 times – ( +1 / -6 ) – version 1.1
In this wiki I will show you how to save/update a model with many related model For example: How to set a product to multiple categories only in one post form ?

Create Form With DynamicModel

Created 3 months ago by Misbahul D MunirTips4 comments – viewed 2,565 times – version 2.0
In yii2 we can create form without create FormModel. Here we go
tags: form, yii2, model