diff --git a/js/yoast_seo.js b/js/yoast_seo.js
index 68cda4f3115ed8235b03b97b92f96e3440edad9d..600f6a496a4d130c3fabc3ee13d960a79638e0ee 100644
--- a/js/yoast_seo.js
+++ b/js/yoast_seo.js
@@ -308,7 +308,7 @@ YoastSEO_DrupalSource.prototype.bindElementEvents = function() {
  */
 YoastSEO_DrupalSource.prototype.inputElementEventBinder = function() {
   for (field in this.config.fields) {
-    if (typeof this.config.fields[field] != 'undefined') {
+    if (typeof this.config.fields[field] != 'undefined' && document.getElementById(this.config.fields[field])) {
       document.getElementById(this.config.fields[field]).__refObj = this;
       document.getElementById(this.config.fields[field]).addEventListener("input", this.renewData.bind(this));
     }