I thought I could just use "value" like below, but it doesn't seem to work. Thanks in advance for any help.
<?php
echo $this->Form->create('Email', array('url'=>'/emails/add', 'value'=>'enter your email address', 'inputDefaults'=>array('label'=>false)));
echo $this->Form->input('Email.email');
echo $this->Form->end('SIGN-UP');
?>
I tried setting in my controller (ty @Jared), but it doesn't seem to work. Thoughts on what I'm doing wrong?
<?php
class EmailsController extends AppController {
var $name = 'Emails';
function beforeFilter() {
parent::beforeFilter();
$this->Auth->allowedActions = array('add');
}
function create() {
$this->data['Email']['email'] = 'enter your email address';
}
}