Posted by class01 on April 13, 2010 at 5:35pm
Hello,
I'm attempting to check whether a CCK field is Null using a Truth Value, the code i'm using is as follows:
[node:field_facebook-formatted]!=""
But everytime it runs it returns TRUE as it performs the action.
Does anybody know how to resolve this.
Many Thanks,
Jonathan
Comments
Can anybody help with this?
Can anybody help with this?
Check variable content with Devel
If you install the Devel module, you can use the "Devel" tab to view the content of the field. Check how it is formatted, and you'll probably get a hint on how to use the TRUE value.
If nothing else helps, try doing a PHP check on the field, doing the is_null()-function.
//Johan Falk, NodeOne, Sweden
http://stackoverflow.com/ques
http://stackoverflow.com/questions/6039472/attempting-to-use-drupals-rul...
****Me and Drupal :)****
Clickbank IPN - Sell online or create a membership site with the largest affiliate network!
Review Critical - One of my sites