I have a javascript validation in my datacapture which basically checks that all values in a replicant is unique.e.g I have a replicant which contains a max of 100 replicants.In this replicant, item named as " ID" should always be unique.I have successfully coded the js function to loop around the replicant and give an alert if the "ID" is not unique.in this check, if the "ID" in any of the replicant instances is repeated, there will be an alert message and i have used the setfocus() to set focus on that error field/repeated value instance.But the issue is, even though i can give an alert, but i am not able to stop the user from saving the dcr, or moving ahead with the data entry.is there a way i can force the user to correct it and only then allow the dcr to be saved? because once the user clicks ok on alert msgs, he can proceed further without any error. Whereas it should be actually not allowing the user to save the dcr or proceed entry in other items till the unique value is entered for the item "ID".Please advice.