开发者

Cakephp Form Helper

How can i achieve the following using cakephp form helper

<inp开发者_运维技巧ut type="text"  required> 


$this->Form->input('foo', array('required' => 'required'));

This will set the required attribute in longhand required="required" format, but will have the same effect.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜