Announcements
No record found.
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();
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();
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.
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.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Muhammad Shahzad Sh... 69 Most Valuable Professional
ManoVerse 62 Super User 2026 Season 1
11manish 43