SPRequireUnique - based on two columns

Jan 5, 2012 at 9:29 AM

Hi,

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.

Coordinator
Jan 5, 2012 at 3: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.

M.