Wiki articles tagged with "validator"

Showing 1-5 of 5 items.

How to Create and Use Validator Using Regular expressions

Created 2 years ago by aayushmhu.

There are Multiple Ways to Create a Validator But here we use Regular Expression or JavaScript Regular Expression or RegExp for Creation Validators. In this article, we will see the most Frequently Used Expression

4 0
1 follower
Viewed: 100 222 times
Version: 2.0
Category: How-tos

Aadhar Number Validator

Created 2 years ago by shiv.

In India have Aadhar number an we may need to valid it a input. So I created a validator for yii2

1 1
1 follower
Viewed: 83 307 times
Version: 2.0
Category: Tips
Tags: validator

Add model validator in Controller

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

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

1 1
3 followers
Viewed: 31 753 times
Version: 1.1
Category: Tips

Create your own Validation Rule

Created 13 years ago by nickcv, updated 12 years ago by Gismo.

Some times the core validation rules provided by Yii won't satisfy all your needs, so you'll need to create your very own validation rule.

59 0
54 followers
Viewed: 276 042 times
Version: 1.1
Category: How-tos

Reference: Model rules validation

Created 14 years ago by krillzip, updated 11 years ago by Rodrigo.

This is a reference to be used for Model rule validation and is compiled from the Yii documentation and code. The purpose is to have all the information gathered in one place instead of scattered. This reference is not an intro. See The Definitive Guide to Yii, Declaring Validation Rules for a tutorial.

99 0
114 followers
Viewed: 891 718 times
Version: 1.1
Category: How-tos