The parameters you pass to $form->input(), unless cake-specific, map
directly to HTML attributes.

There is no html attribute called 'empty'. Where you got that from,
I've no idea.

What you want is for the field to be blank, or in html terminology, to
have value="". So...

<?php echo $html->input('password' => array('type' => 'password',
'value' => '')); ?>

You might find this handy: http://www.w3schools.com/html/

On Jan 30, 10:07 am, Reny <[EMAIL PROTECTED]> wrote:
> I have put in my input form helper the 'empty' => true (I tried false
> and true) beacuse when validation is not staisfy it turn back to my
> view and my input password field is filled with ****.... (I think that
> are hash value return from model controller and Auth model) but it
> seem not work correctly, my field stay already fill!
>
> This is my input field:
> <?php echo 
> $form->input('password',array('label'=>false,'div'=>false,'error'=>false,
>
> 'empty' => true)); ?>
>
> Thanks all
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to