Home > Backend Development > PHP Tutorial > yii?textField,该如何解决

yii?textField,该如何解决

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 12:22:02
Original
1281 people have browsed it

yii?textField


labelEx($model,'order'); ?>
textField($model,'order'); ?>
error($model,'order'); ?>


如何设置 textField只能输入数字,并且唯一

------解决思路----------------------
model 里添加 rules
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template