Hello,
I'm new to SPS functions and trying to learn all I can.
I'm in the need to use the SPRequireUnique function. Yet, for some reason that I'm not aware; this function is not working.
![Image]()
I'm new to SPS functions and trying to learn all I can.
I'm in the need to use the SPRequireUnique function. Yet, for some reason that I'm not aware; this function is not working.

<asp:Content ContentPlaceHolderId="PlaceHolderMain" runat="server">
<script language="javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js" type="text/javascript"></script>
<script language="javascript" src="//cdnjs.cloudflare.com/ajax/libs/jquery.SPServices/0.7.2/jquery.SPServices-0.7.2.min.js" type="text/javascript">
</script><script language="javascript" type="text/javascript">
$(document).ready(function() {
alert("jQuery");
alert($().SPServices.SPGetCurrentSite());
$().SPServices.SPRequireUnique({
columnStaticName: "Order",
duplicateAction: 0,
ignoreCase: "true",
initMsg: "This value must be unique.",
initMsgCSSClass: "ms-vb",
errMsg: "This value is not unique.",
errMsgCSSClass: "ms-formvalidation"
});
});
</script>
Any advise, perhaps something I'm missing?