To add some more info to last post, here is what you need to put in
the "lib/form/*YourTableName*Form.class.php" file:
// Redefine primary keys as Dropdown lists
$this->widgetSchema['your_primary_key'] = new
sfWidgetFormDoctrineChoice(array('model' => 'your_model', 'add_empty'
=> false));
chee
Hi all,
I'm getting in trouble using sfvalidatordoctrineunique (Symfony 1.2.8,
Doctrine, Ubuntu).
This method validates the uniqueness of a column.
According to API (http://www.symfony-project.org/api/1_2/
sfValidatorDoctrineUnique), we should be able to add several fields in
options (columns in