I have a Zoo Visitor (aka Safecracker) registration form with was working great up until a couple of days ago when I upgraded EE from v2.1.3 to v2.5.2. I thought that all would be good to go, but now the crucial part of the registration form (which is for an association) is completely busted (well it just doesn’t render) as the {parent_id} variable within the Safecracker {categories} group is no longer accessible.
This has been tested to be so in both a Safecracker form and a Zoo Visitor form. When I try to just render out the {parent_id} parameter, all I get is the tag printed, not the value of it.
Test page can be seen here:
http://www.profilmcrewwa.com.au/sandbox
And here’s my template code which was working fine in v2.1.3:
{exp:safecracker channel="profile" return='success'}
{categories group_id="1"}
{!--print this >>> --}{parent_id}
{if '{parent_id}' == '0'}
<h4>{category_name}</h4>
<p> {/if}<br />
{if '{parent_id}' != '0'}<br />
<input class="checkbox required" type="checkbox" value="{category_id}" name="category[]" id="specialty-{category_id}" {checked}> <br />
<label class="checkbox" for="specialty-{category_id}">{category_name}</label><br><br />
{/if}</p>
<p> {/categories}<br />
<br />
{/exp:safecracker}Can someone urgently get back to me on this as the client is needing to run a registration campaign drive for new members and without this form it’s kind of useless.