Page 1 of 1
Hiding choices from Drop down dynamically
Posted: 14 Sep 2015
by hp
Hello,
I am trying to create a list which has a dropdown column. i have selected unique values for this dropdown. now when users go select one choice i want to hide that choice for rest of the user as one user can only select one choice. Any guidance would be appreciated. Thanks in advance!
Re: Hiding choices from Drop down dynamically
Posted: 14 Sep 2015
by Dmitry Kozlov
Hi,
You can retrieve all items from the list via CSOM or REST api and remove values that have already been selected from the drop-down with the help of our JS-framework. Our support team can help you with the script. Please, send the complete requirements to
support@spform.com and attach the template of the list. Based on this information we will be able to prepare an estimation.
Re: Hiding choices from Drop down dynamically
Posted: 14 Sep 2015
by hp
Hi Dmitry,
Thanks for your quick response, I do not want to remove it but hide it. as if it's removed that value is gone from previous entry as well. i want to keep it for user who has selected it.
Thanks!
Re: Hiding choices from Drop down dynamically
Posted: 14 Sep 2015
by Dmitry Kozlov
I meant that the script will remove values from the drop-down on the form (from SELECT-element) via JavaScript, but in SharePoint all choices will remain.
Re: Hiding choices from Drop down dynamically
Posted: 14 Sep 2015
by hp
Ok. Thanks!