1 to 2 of 2
Hello, does anybody knows how can i get multi-select options selected when editing a model with habtm objects associated? I'm using $form_options_helper->select() in my template, as mentioned in habtm section in the wiki (http://wiki.akelos.org/how-to-implement-many-to-many-relationships). Thanks in advance.
Ok, sorry. form_options_helper.php, line 82:
"(...) By default, $post.person_id is the selected option. Specify 'selected' => value to use a different selection or 'selected' => null to leave all options unselected (...)"
RTFM, gizmo!! :-)
1 to 2 of 2