mvm的validate的问题

0 views
Skip to first unread message

Tang Daogang

unread,
Apr 15, 2012, 9:33:31 PM4/15/12
to bamb...@googlegroups.com
我在字段里面添加了
 
{required=true}
 
然后,使用Model_name:validate(params)的时候,总是返回true,好像没判断字段是否是必须的似的。
 
请检查。

--
Nothing is impossible.

Reply all
Reply to author
Forward
0 new messages