Date control RRS feed

  • Question

  • Hi,

      Date control default need to fill current date in CRM 2011.

     Pls suggest it!




    Friday, February 10, 2012 9:38 AM


  • Hello Rammohan,

    In the case you meant to fill datetime field with current date by default just call following script during onload of form:

    Xrm.Page.getAttribute("Your datetime field name here").setValue(new Date());

    In the case you meant something other could you please describe it using some samples?

    • Proposed as answer by Kelly Hoang Friday, February 10, 2012 9:52 AM
    • Marked as answer by Rammohan Ammiti Tuesday, February 14, 2012 5:23 AM
    Friday, February 10, 2012 9:45 AM