diff --git a/webapp/web/js/jenaIngest/ingestUtils.js b/webapp/web/js/jenaIngest/ingestUtils.js index 4259daf4f..d50a5208d 100644 --- a/webapp/web/js/jenaIngest/ingestUtils.js +++ b/webapp/web/js/jenaIngest/ingestUtils.js @@ -13,6 +13,10 @@ $(document).ready(function(){ alert('Please enter a value for Individual URI 2.'); return false; } + if ($('#uri1').val() == $('#uri2').val()){ + alert('Primary and duplicate URI cannot be same.'); + return false; + } }); }); \ No newline at end of file