diff --git a/metadata-generator.html b/metadata-generator.html
index 51e60a6..68b075b 100644
--- a/metadata-generator.html
+++ b/metadata-generator.html
@@ -528,6 +528,14 @@
institutionOptions += '';
organizationOptions += '';
});
+ if (institution?.length > 0 && !vocabInstitutions.find((e) => e["ror"] === institution)) {
+ if (affiliationName?.length > 0) {
+ institutionOptions += '';
+ }
+ if (organizationName?.length > 0) {
+ organizationOptions += '';
+ }
+ }
let customInstitutionSelected = institution === "" && affiliationName !== "";
let customOrganizationSelected = institution === "" && organizationName !== "";
let radioGroupName = creatorList.childElementCount > 1 ? $(creatorList.lastElementChild.previousElementSibling).find('.inputType').find('input').attr('name') : ''