Hey, Imagine I have the following :
$w = new sfWidgetFormDoctrineChoice(array( 'model' => 'Codetype', 'add_empty' => false, )); Where table codetype has : id, codetype, value Example of the table is : id | codetype | value ------------------------------------ 1 book book1 2 book book2 3 framework symfony 4 framework fram2 5 ............ .......... I tought I could use the query option to filter the list of choices returned by the snippet but I cannot get it to work. For example, instead of having the whole table records, I would like the results to be filtered and get records that have the codetype equal to 'framework'. Does anyone as an idea on how to do that ? Regards, Frédéric. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---