Hi.
It wont be a pure Zend Framewerok issue.
I have problem with apache's 500 Internal Error on several production
servers.
For example.
This code works on my localhost machine but on production server it rises
500 Internal Error:
// SomeController.php
function doSomethingAction() {
$this->_re
Hi,
Translations doesn't work with AJAX.
Example:
This code produces standard validators messages
$response = $form->processAjax($form->getValues());
$this->getResponse()->setHeader('Content-Type', 'application/json')
->setBody($response);
This code populates messages from
On 29/01/2008, Matthew Weier O'Phinney <[EMAIL PROTECTED]> wrote:
>
>
> Currently, you *can* pull your validator object and set the messages:
>
> $notEmpty = $element->getValidator('NotEmpty');
> $notEmpty->setMessages($messages);
I've figured it out a couple minutes ago.
It works but it
Hi!
Ho to add custom validation messages in Zend_From?
For instance in standard method (without Zend_Form) I can do:
$validators = array(
'login' => array(
new Zend_Validate_NotEmpty(),
'messages' => array(
array(
// here is my custom message
Zend_Validate_NotEmpty: