render sharepoint calculated column into HTML

Hi, I have been struggling with this for a silly amount of time. I have looked at tons of examples that are more difficult than mine but I am a novice in javascript so I am getting no where.
All I am trying to do is render a calculated column =CONCATENATE("<a href=""mailto:",ID,"@xyz.com">"LINK</a>") and have it show the word LINK vs the whole addr.
I would appreciate any help I can get and any beginner references you might suggest.
=CONCATENATE("<a href=""mailto:",ID,"@xyz.com">"LINK</a>")

Open in new window

kburris3Asked:
Who is Participating?
 
TauranceCommented:
Your quotes look off a little.
 
=CONCATENATE("<a href=mailto:",ID,"@xyz.com">LINK</a>")  
0
 
RaphilassCommented:
Quotes are definately out,  if it doesn't work or you're just interested in using the calculated field to do clever things check out this blog.
http://blog.pathtosharepoint.com/2010/04/06/tutorial-add-color-coding-to-your-sharepoint-2007-calendar-in-15-minutes/
There are other examples also,  basicaly he uses the calculated column to generate HTML code on the fly and then with a script he includes in a content editor webpart uses the client side code to force the calculated column to render as sharepoint in the client browser....pretty impressive were my thoughts.
If the HTML still renders as text on your link,  you may need to use something like this :)
Have fun
0
 
kburris3Author Commented:
My friend came to my desk and found that it was the quotes. I needed to breakout the quote and I missed one.

Thanks to Taurance and Raphilass
0
 
kburris3Author Commented:
I finally got things to work when I took the longer lines of html and color coded the quotes to see if I was off. The breakingout of the quotes made all this make sense.
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.