> 'profileid' => new sfWidgetFormDoctrineChoice(array('model' => > $this->getRelatedModelName('Profile'), 'add_empty' => false)),
You can change the above code to include a method to call to display the column you want. For example: <?php, #method: The method to use to display object values (__toString by default) // in your configure() //... 'profileid' => new sfWidgetFormDoctrineChoice(array('model' => $this- >getRelatedModelName('Profile'), 'add_empty' => false, 'method' => 'show_profile_column')); // in Profile.php Model class. public function show_profile_column() { # show profile Column of Profile Table. return $this->getProfile(); ?> The above should work. You can customize sfWidgetFormDoctrineChoice more using the $options array keys found here: http://www.symfony-project.org/api/1_2/sfWidgetFormDoctrineChoice regards, -dg -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com 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