Wednesday, 27 February 2013

Show all fields with JQuery

My current project uses jquery extensively to manipulate the data in our SharePoint forms. Fields are hidden and renamed at will. We recently encountered an error that was traced back to a field being changed to nullable in the column definition.

The key to finding the problem was 'unhiding' all the fields that our extensive jquery had changed. A very effective little piece of code:

$('*').css('display','');

No comments:

Post a comment