By nyck on
Hello
I've create new content type.
One of the field is "Text" field(field_somefield) with list of allowed values:
1|test1
2|test2
3|test3
I'm trying to concatenate one field with it, but without success.
It's easy to get value from usual field: $node->field_somefield[0]['value'].
when I've try to use this expression for my field I've got key "2", but not the value "test2"
"$node" variable have only "key".
How can I to get value?
p.s. of course I can use Flexifield module, but I want to know how to do that with php.