Microsoft Dynamics CRM 4.0 make website field clickable

On the standard contact form the field website is not clickable. You have to copy the url to a browser address bar. This is probably because of the synchronization with outlook.

To make the field clickable on the form you can add the following code to the OnLoad of the Contact form.

/*** make website field clickable***/
//change color and make underlined = “#0000ff”; = “underline”;

/* Double Click website to Open*/
function CreateURL(WebSite) {
 return function() {
 if (WebSite != null && WebSite.value.length > 0) {
 var prefix = WebSite.value.substring(5, 0);
 if (prefix == “http:”) {;
 else {“http://” + WebSite.value);
crmForm.all.websiteurl.attachEvent(‘ondblclick’, CreateURL(crmForm.all.websiteurl));


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: