This project has moved and is read-only. For the latest updates, please go here.

SPUtility.js 0.8.2

Rating:        Based on 2 ratings
Reviewed:  2 reviews
Downloads: 3268
Change Set: c0f0088edde5
Released: Apr 26, 2011
Updated: Mar 5, 2014 by KitMenke
Dev status: Alpha Help Icon


Source Code SPUtility-example.js
source code, 1K, uploaded Mar 30, 2012 - 1893 downloads
Source Code SPUtility.js
source code, 36K, uploaded Mar 9, 2013 - 1375 downloads

Release Notes

Using Sharepoint 2013? Please check out the jQuery version instead:
  • FEATURE: Support for rich text fields
  • FEATURE: Support for choice fields with fill-in values
  • BUG: Support for unchecking multi-select checkboxes

Bug-fix update (version 0.8.1):
  • BUG: Fixed problem with making empty date fields read only
  • BUG: Fixed problem where setting the value of a read only field now didn't update the label
  • FEATURE: Can now pass a string to a SPDateTimeField to set the date textbox

Bug-fix update (version 0.8.2):
  • BUG: Fixed not being able to Hide fields on DispForm.aspx
  • BUG: Fixed Large Lookup fields not saving value correctly (thank you lambi_uk!)
  • BUG: Fixed not being able to call SetValue for Large Lookup fields when the value contained a space (thank you MarkETolley!)

See the Changelog for history.

Reviews for this release

Great tool but you have to use prototype 1.7. If you're using jQuery in addition to this library (or associated libraries like SPServices), you need to use jQuery() instead of $() as there is an issue with the jQuery and prototype usage of '$'. FYI: Will not work with newest version of prototype (1.7.1) or SPServices (for reasons mentioned above). Would be nice if I could use this and jQuery. :0
by bigjollygiant14 on Feb 27, 2013 at 4:47 PM
This is great! I love how simple it makes it to do the minor tweaks here and there (mostly just hiding fields on forms) super easy. This is a great project, thanks a lot!
by theChrisKent on Sep 23, 2011 at 7:21 PM