Friday, September 28, 2012

Re: how to remove label from username and password

you can use now placeholder => username, it looks better :-)


2012/9/29 Chris <chris69m@yahoo.com>
thanks ivnrmc,... it works  
I have also add username and password into the fields 

, array('label' => false, 'value' => 'username') 
, array('label' => false, 'value' => 'password')  

but password show ********* 

On Friday, September 28, 2012 5:48:51 PM UTC-7, ivnrmc wrote:

After name of the input...

<?php echo $this->Html->input('username', array('label' => false)); ?>

sent from my Samsung Galaxy S

Ivan Rimac
mail: ivn...@gmail.com

Dana 29.9.2012. 02:31 "Chris" <chri...@yahoo.com> je napisao/la:
Hi guys,... 
how can I remove label from username and password from the "Form",... to NOT show up from browser... 

Username Password* 


<td style="width:180px;">
    <?php echo $this->Form->input('username'); ?>
</td>

<td style="width:180px;">
        <?php echo $this->Form->input('password'); ?>
</td>

thanks 

--
Like Us on FacekBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake...@googlegroups.com.
To unsubscribe from this group, send email to cake-php+u...@googlegroups.com.

--
Like Us on FacekBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 



--
Ivan Rimac
tel: +385 95 555 99 66

--
Like Us on FacekBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 

No comments: