Hidden fields showing on form


Dear Developer

Hidden fields show on the Batch Edit form.


appieschot wrote Dec 13, 2013 at 9:05 AM

Thats not really a bug but is designed that way, there is a check for each field checking if the field can be in shown in the editform or not.

SonicVader wrote Dec 18, 2013 at 5:52 AM

If I set a field to hidden in SP it does not show on the form; yet it shows in Batch Edit. So I don't really see your point.

appieschot wrote Dec 18, 2013 at 6:59 AM

It is currently not designed to check for hidden fields. We only check if the showineditform is configured to be true (http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfield.showineditform.aspx vs
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfield.hidden.aspx), we could rework that so that it will check for the hidden aswell, but for now you can use the showineditform to be false so that you can disable fields from the batchedit.

SonicVader wrote Jan 6, 2014 at 6:11 AM

Well, you cannot set ShowInEditForm from the SharePoint UI in SP2010 (not sure about SP2013).

Yes, I could modify the source code and redeploy, but my point is that Batch Edit should process the edit form the same way the SP UI does, by checking the "hidden" Boolean.

So it is still a bug in my opinion, albeit a very minor one.

Regardless, Batch Edit is an excellent tool, so please do not misunderstand me.

wrote Jan 10, 2014 at 10:14 AM