I'm trying to build a channel form for updating channel entry data. In this scenario, I'm relating a farmer to multiple butchers.
{exp:zoo_visitor:update_form}
...
<ul id="slaughterhouses">
<li class="selected">
<label>{f_butchers:title}</label>
<input type="checkbox" name="f_butchers[data][]" value="{f_butchers:entry_id}" checked/>
</li>
</ul>
...
{/exp:zoo_visitor:update_form}
This entry currently has 2 selected butcher entries selected. But only one is rendered on the template. I've tried wrapping the <li>
element in {f_butchers}
pair tags to no avail.
In fact, wrapping them in f_butcher
pair tags breaks the template parser and I get {f_butchers:title}
instead of the actual butcher title. But once I wrap those pair tags in the {exp:zoo_visitor:details}
pair tag, I get the one entry again. Still doesn't output the second entry.
The default {field:f_butchers}
won't be enough since I need to do custom styling.
Does anyone know how to correctly template this field data?