Hiding choices from Drop down dynamically

rss

Posted by hp - Sep 14 ’15 at 11:37

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!

  • Dmitry Kozlov
    Dmitry Kozlov
    Admin
    Member for: 8 years 10 months 17 days
    #1 by Dmitry Kozlov Sep 14 ’15 at 12:02

    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 [email protected] and attach the template of the list. Based on this information we will be able to prepare an estimation.

  • hp
    Member
    Member for: 7 years 8 months 27 days
    #2 by hp Sep 14 ’15 at 12:38

    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!

  • Dmitry Kozlov
    Dmitry Kozlov
    Admin
    Member for: 8 years 10 months 17 days
    #3 by Dmitry Kozlov Sep 14 ’15 at 12:42

    [#2]: 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.

  • hp
    Member
    Member for: 7 years 8 months 27 days
    #4 by hp Sep 14 ’15 at 12:55

    Ok. Thanks!

Displaying 1 to 4 of 4 messages