All pastes #769758 Raw Edit

Something

public text v1 · immutable
·published 2007-11-11 17:33 UTC
rendered paste body
<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