Zend form setRequired(true) or addValidator(NotEmpty)

Viewed 10211

Is there any real difference between the behavior or output of these 2. They look to me like they do the same thing.

->addValidator('NotEmpty')   

->setRequired(true)
1 Answers
Related