Jump to content

Recommended Posts

Posted

that way we can use some validation jquery to that input .

 

What do you mean by this?

 

Also, Form::fieldText is generic. While it defaults to 'text', you can override this with attributes, e.g.

// Email field
$this->Form->fieldText('name', 'value', array('type' => 'email'));
Posted

 

What do you mean by this?

 

Also, Form::fieldText is generic. While it defaults to 'text', you can override this with attributes, e.g.

// Email field
$this->Form->fieldText('name', 'value' array('type' => 'email'));

 

ohh , yes , your code is working , i have thought that the input type aren't override by the attributes .

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...