You need to sign in to do that
Don't have an account?
Amit Trivedi
Hi guys I need to remove customer portal user from standard user look field and only show User and Partner user.Can you please suggest some solution to achieve it.
How to hide standard user type picklist value
Hi guys I need to remove customer portal user from standard user look field and only show User and Partner user.Can you please suggest some solution to achieve it.
<script type='text/javascript' src= '//ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js'> </script> <script language="javascript"> $(function() { console.log($('.abc select')); $('.abc select').children("option:nth-child(1)").remove(); $('.abc select').children("option:nth-child(1)").remove(); }); </script>
All Answers
Using Jquery Unhide function.
it will hide.
thank you
<script type='text/javascript' src= '//ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js'> </script> <script language="javascript"> $(function() { $('select.RemoveNone option[value=]').remove(); }); </script>
i have tried this but its not working
<script type='text/javascript' src= '//ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js'> </script> <script language="javascript"> $(function() { $('select.RemoveNone option[value='USER']').remove(); }); </script>
Yes it is standarad picklist value only, your javascript code is calling. please chk by putting alert box.( javascript code is calling or not)
<script type='text/javascript' src= '//ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js'> </script> <script language="javascript"> $(function() { console.log($('.abc select')); $('.abc select').children("option:nth-child(1)").remove(); $('.abc select').children("option:nth-child(1)").remove(); }); </script>
<style>
select[id$='mlktp'] {display:none;}
</style>
Where do you place the script on a standard lightning page? Or should a custom lightning component be created along with a custom lighthing page to hold the default user page details?