My platform: PHP 5.4 TS with Phalcon 1.2.4 on Windows XP SP3

Methods that work:

  • Form::getMessages()
  • Form::getMessagesFor('fieldName')

Methods that return no messages despite they exist:

  • Element::getMessages()
  • Element::hasMessages()

How to test it? Create a form, add a fake validator for fieldName (e.g. length min > max) and output:

var_dump($form->getMessages()); //here we output all messages
var_dump($form->get('fieldName')->getMessages(); //messages for fieldName

Does Element::getMessages() work for you?