Wiki

Articles tagged with "rules"X
Displaying 1-3 of 3 result(s).

Model validation for field ranges using yii2-field-range extension

Created 7 months ago by Kartik VTips0 comments – viewed 3,071 times – ( +30 ) – version 2.0
The yii2-field-range extension enables you to easily setup ActiveField range fields with Bootstrap styling. You basically can setup two attributes joined together like a single field with combined validation error block.

model rules depended by user roles-permissions

Created about a year ago by KonApazHow-tos0 comments – viewed 6,373 times – ( +3 )
This is a reference about model validators and user roles. In many cases we want model validators to applied only for some privileged users or not

an easy way to required multi columns(At least one cannot be blank)

Created 3 years ago by 1065227709Tips0 comments – viewed 5,062 times – ( +2 ) – version 1.1
in model add the following code:
tags: rules