Posted by donpwinston on November 2, 2011 at 6:40pm
There appears no way to get the code value instead of the text in a multiple list field.
1|some text 1
2|some text 2
3|some text 3
I'd like the ability to fetch the numbers and not the text. I can do this with a node but not a field.
Is it possible?
Comments
You want a field with multiple values?
So, you want only one field but with the ability to put integers and text? I don't think you can do that. Why don't you create a custom content type, then add two fields, an integer field and a text field so your data can be linked. Then, create a View and pull the nodes of the custom content type into the display based on the integer field. You can hide or show the related text. You can also sort the order of the nodes by the integer field.
Why were you wanting one field to do the two functions? I am just curious.
fashionbelle.com