Index: main/kofacustom.sampleuni/trunk/layout/rules.xml
===================================================================
--- main/kofacustom.sampleuni/trunk/layout/rules.xml	(revision 13827)
+++ main/kofacustom.sampleuni/trunk/layout/rules.xml	(revision 14564)
@@ -102,4 +102,7 @@
           css:if-not-content="table.kofa-data-table" />
 
+    <drop css:theme="script.kofa-filterByText"
+          css:if-not-content="input.kofa-filterbox" />
+
 <!--
 
Index: main/kofacustom.sampleuni/trunk/layout/static/js/kofa-filterByText.js
===================================================================
--- main/kofacustom.sampleuni/trunk/layout/static/js/kofa-filterByText.js	(revision 14564)
+++ main/kofacustom.sampleuni/trunk/layout/static/js/kofa-filterByText.js	(revision 14564)
@@ -0,0 +1,33 @@
+jQuery.fn.filterByText = function(textbox, selectSingleMatch) {
+  return this.each(function() {
+    var select = this;
+    var options = [];
+    $(select).find('option').each(function() {
+      options.push({value: $(this).val(), text: $(this).text()});
+    });
+    $(select).data('options', options);
+    $(textbox).bind('change keyup', function() {
+      var options = $(select).empty().scrollTop(0).data('options');
+      var search = $.trim($(this).val());
+      var regex = new RegExp(search,'gi');
+
+      $.each(options, function(i) {
+        var option = options[i];
+        if(option.text.match(regex) !== null) {
+          $(select).append(
+             $('<option>').text(option.text).val(option.value)
+          );
+        }
+      });
+      if (selectSingleMatch === true &&
+          $(select).children().length === 1) {
+        $(select).children().get(0).selected = true;
+      }
+    });
+  });
+};
+
+
+$(function() {
+    $('#filteredselect').filterByText($('#filterbox'), true);
+});
Index: main/kofacustom.sampleuni/trunk/layout/theme.html
===================================================================
--- main/kofacustom.sampleuni/trunk/layout/theme.html	(revision 13827)
+++ main/kofacustom.sampleuni/trunk/layout/theme.html	(revision 14564)
@@ -302,12 +302,12 @@
                 <br><br>
 
-        				<div class="input-group">
-        					<div class="input-group-btn">
-        						<div class="btn btn-default btn-file">
+                <div class="input-group">
+                  <div class="input-group-btn">
+                    <div class="btn btn-default btn-file">
                       Select new file&hellip;
                       <input type="file">
                     </div>
-        					</div>
-        					<input type="text" class="form-control" readonly>
+                  </div>
+                  <input type="text" class="form-control" readonly>
                   <div class="input-group-btn">
                     <input type="submit"
@@ -318,4 +318,18 @@
                 </div>
 
+                <br><br>
+
+                <h3>Filtered Select Box</h3>
+                <br>
+                <input id="filterbox" class="kofa-filterbox form-control half"
+                       placeholder="Enter search text, then select item below."
+                       type="text" />
+                <br />
+                <select id="filteredselect" class="form-control half" size=2>
+                  <option value="1">1</option>
+                  <option value="1234567890">1234567890</option>
+                  <option value="better">better</option>
+                  <option value="world">world</option>
+                </select>
 
               </div><!-- /tab-content -->
@@ -595,4 +609,7 @@
         src="static/js/kofa-datepicker.js">
     </script>
+    <script class="kofa-filterByText"
+        src="static/js/kofa-filterByText.js">
+    </script>
   </body>
 </html>
