Yeah, that title makes sense >.>
Anyways, I've added a custom profile field using single-selection radio buttons. Some of my users, it turns out, would prefer to leave this field blank instead of being forced into filling it out.
One of the options I've provided as a result is an option not to disclose it. I have the following conditional to prevent it from displaying in the postbit if they have selected this option.
But my profile field still displays in the user's profile, and since it is not possible to leave it blank, I am stuck with those profiles displaying this:
Custom Field:
(do not display)
I would like to make its appearance conditional on whether they have selected the (do not display) option or not, but have not been able to figure out how. Failing that, I'd like it not to display at all.
Thanks in advance!
Edit: I am currently running 3.7.5 PL1, by the way.
Anyways, I've added a custom profile field using single-selection radio buttons. Some of my users, it turns out, would prefer to leave this field blank instead of being forced into filling it out.
One of the options I've provided as a result is an option not to disclose it. I have the following conditional to prevent it from displaying in the postbit if they have selected this option.
Code:
<if condition="$post[fieldX] != '(do not display)'"> <div class="smallfont"> $vbphrase[phrase_name]: $post[fieldX] </div> </if>
Custom Field:
(do not display)
I would like to make its appearance conditional on whether they have selected the (do not display) option or not, but have not been able to figure out how. Failing that, I'd like it not to display at all.
Thanks in advance!
Edit: I am currently running 3.7.5 PL1, by the way.
Comment