diff --git a/nodequeue.module b/nodequeue.module
index 70bc9fd..43ca95b 100644
--- a/nodequeue.module
+++ b/nodequeue.module
@@ -1149,6 +1149,7 @@ function nodequeue_arrange_subqueue_form($form, $form_state, $queue, $nodes, $su
   $form['add']['nid'] = array(
     '#type' => 'textfield',
     '#autocomplete_path' => 'nodequeue/autocomplete/' . $subqueue->sqid,
+    '#maxlength' => 1024,
     '#default_value' => t('Enter the title of a node to add it to the queue'),
   );
   $form['add']['submit'] = array(
