Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

is it possible to create a choice site column that has a display value that actual differs from the real value. as an example i want a site column that displays a list of colours but i want the actual values to be in hex.

column display value | Actual column value
White                  #ffffff
Black                  #1a1a18
Dark Grey              #7b7865
share|improve this question
add comment

1 Answer 1

up vote 0 down vote accepted

Not out of the box. You can possibly do something with Jquery/Javascript that will change the values of the choices on a NewForm.aspx page. I would say that the values can be the hex, and upon a new form, then javascript would be the answer to change those hex values into something readable by end-users. This article might point you to the right direction: http://blogs.msdn.com/b/sharepointdesigner/archive/2007/06/13/using-javascript-to-manipulate-a-list-form-field.aspx

Another answer would be to create your own webpart that would read the hex values and translate them into a readable text to end-users..

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.