locked
Calculated field using Jscript RRS feed

  • Question

  • Hi

    I want to put calculated data into one of field using Java Script plug-in (Web Resource).

    Found couple samples for calulating fields and fields but I need the total count of Customers in form.

     

    For example,

    Fields :  Name, Country, Total in User's Country(calculated field), etc..

    If I have 100 user records and 60 customers with USA as Country, for the new entry form will be displayed as..

     

    Name: John

    Country: USA

    Total in User's Country : 60  (display right after I put the USA in Country field)

     

    After record/save it, if I re-open it,  it will display as..

    Name: John

    Country: USA

    Total in User's Country : 61  (becuase John is added)

     

    Country fields will use On Change event.

    However, for the java script, I do not know how to pull the total user count based on field selection(Country).

     

    Thank you

     

    FYI, I'm using CRM 2011 Online.

     


    SoyLover
    • Edited by SoyLover Thursday, September 8, 2011 9:01 PM update
    Thursday, September 8, 2011 8:41 PM

Answers

All replies