yii rules

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-20 12:28:07
Original
1008 people have browsed it

两个字段中只要有一个填了就算通过

这个rules要怎么书写?


回复讨论(解决方案)

两个字段都填才通过,怎么写?

两个字段都填才通过,怎么写?



array('test_1, test_2',  'required'),

Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
Help convert .htaccess rules to nginx rules
From 1970-01-01 08:00:00
0
0
0
How to install yii
From 1970-01-01 08:00:00
0
0
0
Custom validation rules are not called
From 1970-01-01 08:00:00
0
0
0
javascript - How to match empty or regular rules?
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template