Wiki articles tagged with "rules"

Showing 1-4 of 4 items.

How To: Custom Client Validation On Checkbox Toggle and Optional Input Field

Created 9 years ago by Wade Shuler Wade Shuler, updated 9 years ago by Wade Shuler Wade Shuler.

I just chased my tail around for a bit today. I got lost with setting the status of all inputs, and banging my head on why the "validate" function just wasn't working.

0 0
1 follower
Viewed: 26 416 times
Version: 2.0
Category: How-tos

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

Created 11 years ago by Kartik V Kartik V, updated 11 years ago by Kartik V Kartik V.

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.

0 0
37 followers
Viewed: 29 928 times
Version: 2.0
Category: Tips

model rules depended by user roles-permissions

Created 12 years ago by Kostas Apazidis (KonApaz) Kostas Apazidis (KonApaz), updated 12 years ago by Kostas Apazidis (KonApaz) Kostas Apazidis (KonApaz).

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

3 0
3 followers
Viewed: 20 421 times
Version: Unknown (update)
Category: How-tos

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

Created 14 years ago by 1065227709 1065227709, updated 14 years ago by 1065227709 1065227709.

in model add the following code:

3 0
3 followers
Viewed: 12 217 times
Version: 1.1
Category: Tips
Tags: rules