private function AddPasswordField()
    {
        $name = 'Password';
        $this->AddField(Input::Password($name));
        if (!$this->member->Exists())
        {
            $this->SetRequired($name);
        }
        $this->AddValidator($name, StringLength::MinLength(6));
        
        $this->SetTransAttribute($name, 'placeholder');
    }
private function AddPasswordField()
    {
        $name = 'Password';
        $this->AddField(Input::Password($name));
        if (!$this->member->Exists())
        {
            $this->SetRequired($name);
        }
        $this->AddValidator($name, StringLength::MinLength(6));
        
        $this->SetTransAttribute($name, 'placeholder');
    }
private function AddPasswordField ( ) { $ name = 'Password' ; $ this -> AddField ( Input :: Password ( $ name ) ) ; if ( ! $ this -> member -> Exists ( ) ) { $ this -> SetRequired ( $ name ) ; } $ this -> AddValidator ( $ name , StringLength :: MinLength ( 6 ) ) ; $ this -> SetTransAttribute ( $ name , 'placeholder' ) ; }
Adds the password field to the form
Adds the password field to the form