开发者

Cakephp Form Helper

开发者 https://www.devze.com 2023-02-19 21:22 出处:网络
How can i achieve the following using cakephp form helper <inp开发者_运维技巧ut type=\"text\"required>

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

精彩评论

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