<xar:set name="$mos">xarVarFetch('hide', 'int', $hmail, NULL, XARVAR_NOT_REQUIRED)</xar:set>
<xar:set name="fmo">xarUserSetVar('hmail',$hmail)</xar:set>
<form name="profile_form" method="post" action="#xarservergetcurrenturl()#" enctype="application/x-www-form-urlencoded">
<xar:set name="$hidedata">xarusergetvar('hmail')</xar:set>
<em> Hide email from public?: </em> <xar:data-input name="hide" type="checkbox" value="#$hidedata#" />
</form>
xarusergetvar('hmail') dd hooked to roles, its checkbox for controlling that user want to hide his mail or not*
i tried with checkbox validation, false,true etc no luck