Back as the MS CRM “Top Answerers” (May/June 2010)
Posted by Ali Khan on June 13, 2010
After my vacation & lay off for March & April, i am back as the top Answerer for the month of May/June 2010 on both MS CRM & MS CRM Development Forum.
Source: –
Posted by Ali Khan on June 13, 2010
After my vacation & lay off for March & April, i am back as the top Answerer for the month of May/June 2010 on both MS CRM & MS CRM Development Forum.
Source: –
Thabiso Motloung said
I wonder if anyone can assist me, I want to display an image based on if statement that when a field is greater, smaller or equal to than it displays a green or red image.
e.g if (crmForm.all.new_field.DataValue <= 30);
then (display.green.jpg)
Ali Khan said
Hi Thabiso,
It is possible in multiple ways, here is one i can think of .
1) Create an new section and insert an iframe and show the image in the iframe.
see this link on how to display images in Iframe
http://mscrm4ever.blogspot.com/2009/02/displaying-image-in-iframe.html
http://technetsrilanka.net/blogs/amalk/archive/2010/03/31/ms-crm-iframe-magic.aspx
2) Now you need to hide/display the Entity Form Section, use this.
crmForm.all.new_attribute_c.parentElement.parentElement.style.display=’none’;
http://social.microsoft.com/Forums/en-US/crmdevelopment/thread/8c763a3f-59ce-4e4f-a31f-25ab6c42e9c2
http://crm.atechnisch.nl/2008/01/hide-a-complete-section-on-a-form/
Thabiso said
Thanks Ali, I have a issue where I have a table with 5 columns, then I have a field that brings up the first selected column data, but now I have fields where I want to diplay the other data associated with the first selected column data into other fields, eg. NAME | SURNAME | AGE, I want the surname and the age to be displayed on other two fields on the form. Hope this made sense.