diff --git a/webroot/js/embedded.js b/webroot/js/embedded.js
index <HASH>..<HASH> 100644
--- a/webroot/js/embedded.js
+++ b/webroot/js/embedded.js
@@ -156,7 +156,7 @@ var embedded = embedded || {};
                 /*
                 get typeahead field
                  */
-                $field = $('input[name=' + $(form).data('field_name') + ']');
+                $field = $('#' + $(form).data('field_id'));
 
                 displayField = $(form).data('display_field');
select label field by id (task #<I>)