• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Lack of interest [Suggestion] Notices - Custom User Field Criteria, IF empty

Digital Doctor

Well-known member
#3
Maybe this is a bug, I don't know but I would really like to be able to check if a custom user field is empty and not just if it contains this or that.
VERY good idea.
This was brought up quite early after the release of Notices.
It would be a very effective way of encouraging people to complete their profile.
 
#4
+1
We use a lot of custom user fields for different things. And we use notices to inform > 15000 members about new features, new options, ...
We failed a few times to create a notice because of this missing function.
 

Chris D

XenForo developer
Staff member
#5
I haven't tried this, but why doesn't this work:

Code:
<xen:if is="{$user.customFields.customField} == ''">
Or:

Code:
<xen:if is="{$user.customFields.customField}">
As I say, I haven't tested but I'd be surprised if this doesn't already exist.