locked
how to set default value for a currency field RRS feed

  • Question

  • Hello,

    I need to set 800 as default value for my currency field when a record is saved.


    Madhu Sudhan.M

    Tuesday, December 4, 2012 5:16 AM

Answers

  • Hi Madhu

    Call this function in Onsave of ur form which will set default value for ur currency field

    function onsave()

    {

    Xrm.Page.getAttribute("Filednamef").setValue(parseFloat(eval("800")));

    }

    • Marked as answer by Madhu-CRM Tuesday, December 4, 2012 5:18 AM
    Tuesday, December 4, 2012 5:18 AM