locked
Populate Value based on Other column In sharepoint list forms using Jquery RRS feed

  • Question

  • I have list field called Name.This  name will automatically populated from current long in user. I have another field called Department. We have different department groups  in a sharepoint list.so based on Login name how to set the department name?

    Friday, July 29, 2016 8:38 AM

All replies

  • For Name field in the list settings set the default value as calculate and enter the formula as [Me].

    In order to get the department name, perform a REST or CSOM call to the another list and get the value, add this to document ready block.


    ---
    Rajesh
    rjesh.com| @rjesh
    You don't need to buy me a beer, if helpful just smile, vote, and mark it as answer.

    • Proposed as answer by KRISHANA KUMAR Sunday, September 4, 2016 11:24 PM
    Saturday, July 30, 2016 2:39 PM