This project has moved. For the latest updates, please go here.

SPAutocompleteLookupField.SetValue issue when lookuptext is number or begins with a digit

we often use ID in lookup fields such as display field. And ID is a number. in the setValue function, a regex is used to reorder choices array. // split the string on every pipe character fol...

Id #37 | Release: None | Updated: Oct 5, 2016 at 9:31 AM by pasqualito | Created: Oct 5, 2016 at 9:31 AM by pasqualito

Setting multi-value field based on dropdown, then clear when dropdown changes.

So I have a newform.aspx unedited file that I am using SPUtility to hide fields with. I have a dropdown that when an option is selected 2-3 other fields are shown and the rest hidden. All works f...

Id #36 | Release: None | Updated: Aug 23, 2016 at 9:09 PM by jamescoffman | Created: Aug 23, 2016 at 3:00 PM by jamescoffman

Multi-line Field GetValue() not working

Hello, I am trying to compare the old and new values of all of the fields in a list to see if the "as of date" field needs to be updated. When I load the list, I am capturing the value of each fi...

Id #35 | Release: None | Updated: Jun 9, 2016 at 1:48 AM by KitMenke | Created: May 19, 2016 at 2:52 AM by n30t3h1

Person or Group Change Detection

Hi, This is probably my naivety on SharePoint and JavaScript, but I am trying to detect when a user puts an entry into a People or Group field. I've tried the following and none of them seem to...

Id #34 | Release: None | Updated: May 17, 2016 at 6:40 PM by n30t3h1 | Created: May 17, 2016 at 6:40 PM by n30t3h1

Hide Column based off of 2 values

I'm using sputility to conditionally hide "Column C" if the drop down value of "Column A" is 123. I now have a customer that wants "Column C" hidden if the drop down value of "Column A" is 123 an...

Id #33 | Release: None | Updated: Apr 18, 2016 at 9:13 PM by KitMenke | Created: Apr 14, 2016 at 2:48 PM by travis12345

SetDescription

I'm trying to use SetDescription on a rather large description. It's used as a stop-gap to prevent users from filling in admin fields (I can't convince them to just let me hide the fields from the ...

Id #32 | Release: None | Updated: Apr 7, 2016 at 3:47 AM by KitMenke | Created: Apr 6, 2016 at 6:38 PM by n30t3h1

fieldName is not suitable to be key of _fieldsHashtable

For the complex list, some of fields would have same display name (fieldName), so the display name could not be used as key of _fieldsHashtable. For below code, the new field with same display nam...

Id #30 | Release: None | Updated: Dec 28, 2015 at 10:50 PM by KitMenke | Created: Jun 10, 2015 at 8:14 AM by yuxinbo

Not working on edit form in Sharepoint 2013

Hi, This used to work fine on SharePoint 2007. When we migrated to SharePoint 2013, I have downloaded the latest version of SPUtility.js file and its not working on sharepoint 2013 on list edit f...

Id #29 | Release: None | Updated: Aug 12, 2015 at 7:44 AM by jwpfox | Created: Jun 4, 2015 at 10:27 PM by sowji250

MakeReadOnly() on RTF

Hi guys. If you call MakeReadOnly on RTF field, the control is transformed to read only.. but if content is not already loaded.. nothing is shown (rtf content is loaded after dom ready).

Id #28 | Release: None | Updated: Apr 27, 2015 at 10:02 AM by extreme79 | Created: Apr 27, 2015 at 10:02 AM by extreme79

GetSpfield Date when hours is 00:00 or 12:00 ever returns 12:00AM

Since i try to get date time field. And datetime i set to 00:00 or 12:00. The field returns 12:00AM. It does not diference beetwen am/pm I use portuguese currency and language.

Id #27 | Release: None | Updated: Feb 13, 2015 at 4:08 AM by KitMenke | Created: Feb 9, 2015 at 11:24 PM by Forcebr