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

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
February 15th, 2015 10:04am

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

Free Windows Admin Tool Kit Click here and download it now
February 15th, 2015 12:36pm

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

February 17th, 2015 4:40am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics