SphereCommunity

Full Version: isempty
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
What's wrong with

PHP Code:
IF (<src.age> < 10) && (<src.create> > 60)
    IF <
isempty <src.account.tag0.email>>
        
src.dialog d_p_setemail
    
ENDIF
ENDIF 
Tag0 returns 0 if empty, so you can't use <isempty <tag0.x>>
indeed Smile
<TAG0.Something> will return 0 if the tag is not set, so it will never be empty

but you have many others ways to check if the tag is set
  • (<isempty <TAG.Something>>)
  • (<TAG0.Something> > 0)
  • (<TAG0.Something> != 0)
  • ...
Thx Big Grin
Reference URL's