SPListFormUtility is a small JavaScript library, that helps control the appearance and behavior of standart SharePoint list forms.
SPListFormUtility allow you to:
- set/get fields values
- hide fields
- disable fields
- helps control the appearance and behavior of controls (add custom css, modify html and so on)
SPListFormUtility work only with standart SharePoint list item pages:
- DispForm.aspx
- EditForm.aspx
- NewForm.aspx
Characteristic:
- SharePoint 2010, SharePoint 2013 support
- jQuery needed
- use internal fields names (see documentation)
- automatic detect culture settings for SPFieldDateTime fields
Quick start
$(document).ready(function () {
ExecuteOrDelayUntilScriptLoaded(function () {
// Title - internal field name
var field = new Igotta.StandartListFormsUtility.SPFieldText('Title');
field.setValue('TEST');
}, "sp.js")
});
See
https://splistformutility.codeplex.com/documentation