I have a requirement where I am storing some data in the description field(label Comments) in task object. The data consists on some url as well, which is remaining as clickable once it has been saved as a task. Is it possible to stop it? Is there any datatype which which make the link non-clickable? Thanks.


I don't know of a supported way to achieve this - Salesforce automatically converts any text that looks like a URL into a hyperlink. In a Visualforce page you could use CSS to make the text look "normal" or Javascript to stop the link being clickable, but neither of those will work in a regular page.

There is an idea on this issue which you could vote on:


As it doesn't have many votes currently, I suspect this behaviour won't be changing soon!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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