I am working on an EnterpriseWiki site collection, and when users edit the page properties as follow:-
then will get all the fields inside the EnterpriseWiki content type as follow:-
now i want to hide all the fields and only keep two values ; Title & Name, so i edit the EditForm and i add the following script:-
<script>
$('#formTbl tr').filter(function ()
{
return !$(".ms-standardheader", this).text().match(/Name|Title/i);
}).hide();
</script>
and now when users edit the wiki page properties they can only edit the name & title. but my question is what will happen to the other values such as the page content, assign to , etc.. now i test this and seems that when editing the name and title the other values will not get effected which is what i need, but not sure how did SharePoint handle this, i was affraid that hiding the other columns will set their values as null or empty if the user save the editform with only the title and name inside it ? can anyone adivce on this ?