I need to use a submitted value for sfValidatorDoctrineChoice in a form generated after a model.
I tried $this->getValue('country')
but it's not working:
$query2 = Doctrine_Core::getTable('sate')->createQuery('s')
->select('s.id')
->where('s.idcountry = ?', $this->getValue('country'));
How can I get that parameter?