I am using cake_1.2.2.8120 ,notEmpty rule is not responding.
// model code:
var $validate = array(
'name' => array(
'rule' => 'notEmpty',
'required' => true,
'message'=>'Name field can not be empty.'
)
);
//view code
<?php
/**
* Class and Function List:
* Function list:
* Classes list:
*/
echo $form->create(array(
'enctype' => 'multipart/form-data'
)); ?>
<table>
<tr>
<td>Organization Name*</td>
<td><?php echo $form->input('name', array(
'label' =>''
)); ?>
...............................................and so no
Please help!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---