drupal 7: how to add a field that displays a message when user is not logged in? I need a way to set up a field available only for logged in users. When anonymous user reach the page that contains this field, drupal must display a message that request to hte user to login or register to display this field. This is the same that appens for comments. There is a module that impelments this for single fields?
You can try the following 2 modules: Field Permissions and Markup.


Define the field.
Directly behind, define the markup field that shows the message to log in.
Use field permissions to allow access to the target field for authenticated users only.
Use field permissions to allow access to the markup field for anonymous users only.


That workaround should solve you issue.