Hi SpZam,
Base on my test, the script you provide is only works for SharePoint list form, but it doesn’t apply for custom list forms and InfoPath forms.
(SharePoint list form can be created this way:
Open new form page from SharePoint Designer > Insert > SharePoint > List Form > Select target list …
)
To hide the column from custom list form, we can use JavaScript.
http://blog.qumsieh.ca/2010/02/16/hide-columns-in-sharepoint-new-edit-and-disp-forms/
Thanks & Regards,
Emir
Emir Liu
TechNet Community Support
No comments:
Post a Comment