showing color

i need to show product availability by color.
is there any way to show a color in container field or colored text?
Hiroyuki TamuraField EngineerAsked:
Who is Participating?
 
lesouefConnect With a Mentor Commented:
both:
you can store a few colour patches (images) in a media field (a global one) and have your calculated field to change according to the qty or availability value.
or use formatted text (using RGB parameters, you can alter text colour of a field) on any calculated text
Tell me if you need more details
0
 
Hiroyuki TamuraField EngineerAuthor Commented:
thank you, lesouef:)

please let me know how i should input calcuration field if i want to use image.
0
 
lesouefConnect With a Mentor Commented:
I have no machine today, I'll make an example when I'm back home next week
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
jvaldesConnect With a Mentor Commented:
The easiest way to do what you are asking with regard to the color block is to create a global container field with multiple repetitions. In each repetition put a gif image of the color you prefer. say white is the first repetiton, red the second etc.
Then for that same field create a calculation that puts a value 1,2 ,3 etc in that field. The color of the blotch will show. I use this to highlight text.

Let me know if you need more help, I can send an example
0
 
lesouefConnect With a Mentor Commented:
sorry, I had forgotten this one, here is an example with 3 colours, 1 for a qty which is too small, 1 for correct qty, and the last for a qty too big
http://www.carina-tm.com/upload/colour_image.fp7
0
 
Hiroyuki TamuraField EngineerAuthor Commented:
thank you, all:)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.