Hi,
I am able to hide the unwanted global option set value in portal using the following code but on portal option set is showing as multi select and the value is not hiding using the code below. Any ideas please. Thanks
$("#new_test option[value='123400000']").hide();
Hi Mohsin Ali,
I was doing something wrong in the script so it didn't work before but now it is working as expected. Thanks for your help on this.
Hi Mohsin Ali,
Thank you for your time in answering my query but sorry, that didn't work either.
My above given code works if we show the option set field on portal but we are showing the option field as multi select and possibly that's why it didn't work either.
Instead of hide, please use remove. This will remove that particular items in front end only, but they will be there in the backend.
$("#new_test option[value='123400000']").remove();
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,522 Super User 2024 Season 2
Martin Dráb 228,441 Most Valuable Professional
nmaenpaa 101,148