none
Jquery for sharepoint document library form to filter dropdown/lookup field RRS feed

  • Question

  • I have created a document library to update status of a ongoing process. I have created a lookup column "status" with options 
    Initiated,
    Reivew-in Progress,
    Review-Denied,
    Review-Approved,
    Verification-In progress,
    Verification-Denied,
    Verification-Approved.
    The demand from the client is they want to see - 'Initiated'in the form while adding a new document,other options should be hidden/disabled.
    The next time when they edit the form,they want to see just :
    Reivew-in Progress,
    Review-Denied,
    Review-Approved.
    Other options should be hidden/disabled.
    On the next step they want to see 
    Verification-In progress,
    Verification-Denied,
    Verification-Approved.
    other options should be hidden/disabled.

    I have worked with cascade drop down but i have no idea how to filter a single dropdwn/lookup field.Is there any way to implement this? Any help would be appreciated.
    Thank you.


    • Edited by slionel Sunday, February 15, 2015 7:09 AM
    Sunday, February 15, 2015 7:04 AM

Answers

  • Hi,

    I think creating a custom site column will fulfill your requirement.

    Have a look over this Technet thread for more information

    https://social.technet.microsoft.com/Forums/en-US/a8fd3072-9986-4cd7-9b43-dc77c31eea59/filter-a-lookup-dropdown-on-custom-new-form?forum=sharepointcustomizationprevious


    Thanks.... ________________ Baba (MCTS, MCPD)

    Sunday, February 15, 2015 9:36 AM

All replies

  • Hi,

    I think creating a custom site column will fulfill your requirement.

    Have a look over this Technet thread for more information

    https://social.technet.microsoft.com/Forums/en-US/a8fd3072-9986-4cd7-9b43-dc77c31eea59/filter-a-lookup-dropdown-on-custom-new-form?forum=sharepointcustomizationprevious


    Thanks.... ________________ Baba (MCTS, MCPD)

    Sunday, February 15, 2015 9:36 AM
  • Hi Slionel,

    Based on you description, my understanding is that you want to show certain fields on NewForm.aspx and hide/ disable other fields and in EditForm.aspx you need to show or hide/disable certain fields based on condition. I would say you can use JSOM to implement your requirement in NewForm.aspx and EditForm.aspx based on the condition and requirement, it will be simple and straight forward.

    Thanks

    Shakir

    Tuesday, February 17, 2015 9:35 AM