Brenton Alker wrote:
> 
> 
> ivo trompert wrote:
>> 
>> 
>> ...
>> 
>> But the problem now is that if I give the second field a message (the
>> second field is the 'username') like this:
>> 
>> 'name' => array('NotEmpty', 'messages' => 'Voornaam is verplicht!'),
>>                      'username' => array('NotEmtpy', 'messages' => 'De 
>> gebruikers naam
>> is verplicht!'),
>>                      'password1' => array('Alpha', 'allowEmpty'=> true),
>>                      'password2' => array('allowEmpty' => true)
>>                      );
>> I get the folowing error:
>> 
>> Fatal error: Uncaught exception 'Zend_Filter_Exception' with message
>> 'Unable to find the implementation of the 'NotEmtpy' class' in
>> /storage/wwwroot/Zend/Filter/Input.php:830 Stack trace: #0 
>> 
>> ...
>>                      
>> What is wrong with this code?
>> 
>> 
> 
> It's Just a simple typo by the looks.
> 
> 
> 'username' => array('NotEmtpy', 'messages' => 'De gebruikers naam is
> verplicht!'),
> 
> Fatal error: Uncaught exception 'Zend_Filter_Exception' with message
> 'Unable to find the implementation of the 'NotEmtpy' class' in
> /storage/wwwroot/Zend/Filter/Input.php:830 Stack trace: #0
> 
> 
> You've got NotEmtpy instead of NotEmpty.
> 
> 
> 

Thank you that was the problem.

Ivo Trompert

-- 
View this message in context: 
http://www.nabble.com/Zend_Filter_Input%28%29-tf4269740s16154.html#a12158145
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to