I think I understand what you’re saying, but it doesn’t seem to work. I pull a value from
$nonprof_orgs
and load it into
$profile->nonprof_array
before rendering the view, but the checkbox still remains unchecked. The way I understand the post I link to above, is that the ‘checked’ property needs to be set for each checked checkbox in the list, and therefore the need for an expression which evaluates to true or false for the checked property.
You are right. I’m not sure where this is breaking down in my code. Many thanks for your help.
EDIT: It works now. It was a combination of a few things, mainly incorrectly passing a populated variable $nonprof_array instead $profile->nonprof_array. Thanks again.