Skillbooker
Login Register

Cakephp


How do I set a default value in an input field with CakePHP?

You add it in the array like so:

echo $form->input('email',array('default'=>'enter your email address'));

gabriel kolbe
Posted on: 2016-06-01 Please login/register to leave comments