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

SPRequireUnique - based on two columns

Jan 5, 2012 at 10:29 AM


is it possible to use SPRequireUnique to check whether the combination of two columns in unique and prevent saving the item if that is true?


Thank you.

Jan 5, 2012 at 4:24 PM

Not as written. The function only works on one Single line of text column. You could certainly clone it and rework it to meet your needs.