My problem is when i enter password in zend password element it show in bullet sign(encrypted formate) and when i inspect that in chrome or Mozilla it show password in plain text.how can i encrypt password at zend element like gmail password text box i mean when i type password and inspect that password it does not show my password in plain text format.
my password element in zend form is:
$password = new Zend_Form_Element_Password('Password');
$password->setRequired(true)
->setAttrib('size', 30)
->setRenderPassword(true)
->addFilter('StripTags')
->addFilter('StringTrim')
->addValidator('StringLength',false,array('min' => 6,'max' => 50,
'messages' => array(
Zend_Validate_StringLength::INVALID =>'Please Enter correct Password',
Zend_Validate_StringLength::TOO_LONG =>'Password is too long',
Zend_Validate_StringLength::TOO_SHORT =>'Password is too short')));;
$password->class="textbox";
$password->setDecorators($decorators);
$password->setAttrib('Maxlength', 50);