Hi All,
I need to set the two option set value set to yes/no using if statement
Below is my javascript but its not working where 'new_gvadelta' is a money value with 2 decimal places
Any help much apprecited
Thanks
function CalculateBusinessImproved() { var value1 = (Xrm.Page.getAttribute('new_gvadelta').getValue()!=null ? parseFloat(Xrm.Page.getAttribute('new_gvadelta').getValue()):null); if (value1>0) { Xrm.Page.getAttribute('new_businessimproved').setValue('1'); } else{ (value1 <= 0) Xrm.Page.getAttribute('new_businessimproved').setValue('0'); } }
Pradnya07