Hi,
I tried to get some help on the forums, but nobody responded. The following looks like a bug to me, but if I sent this while I did something wrong/stupid, I am sorry.
The problem
I'm 'borrowing' the admin generator's object_admin_double_list helper inside the frontend application for a more user-friendly multiselect box.
Getting the box in the view with all the (pre-selected) values is not the problem.
<?php echo object_admin_double_list($oStagiair, 'getRegioStagiairs', 'through_class=RegioStagiair size=5') ?>
The relation
Stagiair ---------1:n--< RegioStagiair? >--n:1---------- Regio
Unfortunately:
a) I can't get Symfony's validation system attached to it (required field)
b) The values selected are not in the Request parameter holder after submit.
There's a fair chance that a and b are linked.
TIA
Jordi