private function getPasword(array $post, KT_Form $form)
 {
     $password = $post[KT_User_Profile_Config::USER_PROFILE_FIELDSET][KT_User_Profile_Config::PASSWORD];
     if (KT::issetAndNotEmpty($password)) {
         $fieldset = $form->getFieldSetByName(KT_User_Profile_Config::USER_PROFILE_FIELDSET);
         $passwordConfirm = $post[KT_User_Profile_Config::USER_PROFILE_FIELDSET][KT_User_Profile_Config::PASSWORD_CONFIRM];
         if (KT::issetAndNotEmpty($passwordConfirm)) {
             if ($password === $passwordConfirm) {
                 // OK
                 return $password;
             } else {
                 // hesla se nerovnají
                 $passwordConfirmField = $fieldset->getFieldByName(KT_User_Profile_Config::PASSWORD_CONFIRM);
                 $passwordConfirmField->setErrorMsg("Heslo a jeho potvrzení musejí být stejné.");
                 $form->setError(true);
             }
         } else {
             // heslo je zadané, ale potvrzení ne
             $passwordField = $fieldset->getFieldByName(KT_User_Profile_Config::PASSWORD);
             $passwordField->setErrorMsg("Pro změnu hesla musí být zadané heslo i jeho potvrzení.");
             $form->setError(true);
         }
     }
     return null;
 }