I'm trying to implement Chosen as a front to a Playa-field in my Zoo Visitor channel. Entering data isn't a problem, but obviously I want to have the currently selected entry selected as default. This wasn't behaving as expected, so I stripped everything down to the following bit of code:
{exp:zoo_visitor:update_form
return='profiel'
class='custom profile'
allowed_groups='7'
}
{member_employer var_prefix="employer"}{employer:entry_id}{/member_employer}
{/exp:zoo_visitor:update_form}
When I load this template, it outputs 810
, which isn't even an actual entry. When I output the value in another template between {exp:zoo_visitor:details}
tags it outputs the expected entry_id of 243
. I've tried removing the var_prefix (which was only added later for debugging to be safe anyway). Any idea what's going on here?