Archive for March 2010
Extract Text Value of Lookup Field And Place In Another Field...
Another nice quick bit of useful Javascipt...
crmForm.all.nameofnyourlookupattribute.DataValue=crmForm.all.nameofyourtextattribute.DataValue[0].name
I'm sure this can also be adapted to place the value in other fields too but its a start...
crmForm.all.nameofnyourlookupattribute.DataValue=crmForm.all.nameofyourtextattribute.DataValue[0].name
I'm sure this can also be adapted to place the value in other fields too but its a start...
Fire OnChange Event In Another Field Using JavaScript
Nice quick one for everyone...
document.getElementById ('AttributeID').onchange ();
where AttributeID is the name of your attribute with the desired OnChange event!
document.getElementById ('AttributeID').onchange ();
where AttributeID is the name of your attribute with the desired OnChange event!
Posted by XRM Consultant