I create a new Computed field on the user profiles. I set the label to "hello", and the computed value to this:

$entity_field[0]['value'] = "a";

I leave all the other values unchanged.

The problem is that the value is never displayed on the user profile. I've checked the display options and are ok.

Comments

jorge.suarez’s picture

StatusFileSize
new32.99 KB

Sorry, I needed to save the user profile for the value to be loaded. It would be nice to document it somewhere near the storing checkbox, so the user can easily know when the value will be updated. I found this information just here: http://drupal.org/node/126522

Maybe a good approach is to add a description to the checkbox, as suggested on the attached screenshot.

jorge.suarez’s picture

Title: Profile values not working? » "Store" option is confusing, the user don't know when the data will be updated
Category: support » bug

Changing title and category to something more accurate to #1

colan’s picture

Component: Code » Documentation
Category: bug » task
Issue tags: +D7 stable release blocker

Adding tag & fixing other details.

colan’s picture

Status: Active » Fixed

Committed something similar to the description in 2566632.

Automatically closed -- issue fixed for 2 weeks with no activity.