This project has moved and is read-only. For the latest updates, please go here.

Content Type Hide

Aug 25, 2016 at 2:36 AM
Edited Aug 25, 2016 at 3:27 AM
Hi kit,
I'd like to hide the pull-down menu of content types in EdifForm, but it does not go well.
<script type="text/javascript" src="/sites/system/SiteAssets/jquery-1.11.2.min.js"></script>
<script type="text/javascript" src="/sites/system/SiteAssets/sputility.min.js"></script>
<script type="text/javascript">

$(document).ready(function() {
    var field = SPUtility.GetSPField('Content Type');
    field.Hide();
});
</script>