diff --git a/templates/admin/core_custom/custom-fields/form-builder.html.twig b/templates/admin/core_custom/custom-fields/form-builder.html.twig
index c28a1ea312b4d7fd72b7309232ff3f9bf5494ded..346269590b0cb8e9eb435bfdbe8a602cef064711 100755
--- a/templates/admin/core_custom/custom-fields/form-builder.html.twig
+++ b/templates/admin/core_custom/custom-fields/form-builder.html.twig
@@ -236,6 +236,14 @@
           textarea.title = this.title
           return textarea
         })
+
+        $('.search-wrap:not(.initialized)').each(function() {
+          $(this).addClass('initialized')
+          var $weightWrapper = $(this).siblings('.searchWeight-wrap')
+          $(this).find('input').change(function() {
+            $weightWrapper.toggle($(this).is(':checked'))
+          }).trigger('change')
+        })
         // $('.name-wrap input[name=name]').val('email');
         // get all input names (used to check for uniqueness)
         var allNames = [];
@@ -385,4 +393,8 @@
   .form-wrap.form-builder .frmb .field-actions {
     z-index: 500000;
   }
+
+  .searchWeight-wrap {
+    display: none;
+  }
 </style>
\ No newline at end of file