Relabel private checkbox and header on NetCommmunity Profile forms

‘Private’ in NetCommunity Profile forms is a little misleading, it usually means ‘only members can view’. We have therefore been asked a few times now to relabel the fields. If you wish to do this use the below snippet which will accomplish the task. Add it to an unformatted text part on the page, simple… Tailor the labels as you need:

<script type="text/javascript">
var myHeadingLabel = 'Privacy';
var myCheckboxLabel = 'Members can view';

eval(function(p,a,c,k,e,r){e=function(c){return c.toString(a)};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('$(5).6(0);0();7 0(){$(\'.4:1("3")\').2(8);$(\'9:1("a b")\').2(c)}',13,13,'patchPrivateLabels|contains|html|Private|ProfileFormTitle|document|ready|function|myHeadingLabel|label|Make|private|myCheckboxLabel'.split('|'),0,{}))
</script>