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.
精彩评论