![]() |
Use if condition - don't show if field is 'rather not say'?
In the memberinfo template I'm using the following to display the field if the profile field contains data:
if condition="$userinfo[fieldX]" /if What would my condition be if I also wanted to not have the field show if the content of the field is 'rather not say'? |
<else />
|
Quote:
I thought it would be a conditional that includes an 'OR' |
It'd probably be simpler to just do this:
Code:
<if condition="$userinfo['fieldX'] AND $userinfo['fieldX'] != 'Rather Not Say'"> |
All times are GMT. The time now is 09:17 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|