The client reported that on newform.aspx page, there is one column which appears for a while and then disappears.
– Checked if the column is custom created.
– Checked if the column has its value hidden in the content type column setting.
– Marked the column value to be required.
– Saving the list as a template without content and worked fine on the other site, gives issue on the same site.
– Tried deleting the problem column form the problem list, its still disappears from the newform.aspx page.
– Checked the list in SharePoint Designer to check if the newform.aspx page is customized. No customizations were implemented.
On further troubleshooting, we edited the new.aspx page and found two ‘content editor webpart’ each containing a Java script code.
Out these two codes one was like given below:
Where nth-Child is used as an argument to pass to the table and function to perform is hiding.
The 8th number is the column number in the newform.aspx page. Editing the page and changing the number equivalent to the number of the column would hide that column from the page.
Either changing the number to something to not equal to the column number or removing the code had resolved the issue.
Read some SharePoint tutorials below:
- SharePoint Workflow Interview Questions and Answers
- SharePoint performance is down, factors to be considered.
- SharePoint 2013 PowerShell Commands
- SharePoint warning message for low disk space
– SharePoint 2007
– SharePoint 2010
– SharePoint Designer
-: FREE PDF e-Book Download :-
51 JSOM Examples in SharePoint Online
You May Also like the Following SharePoint Online Tutorials: