diff --git a/includes/webform.components.inc b/includes/webform.components.inc
index be282ca..1b29fad 100644
--- a/includes/webform.components.inc
+++ b/includes/webform.components.inc
@@ -79,6 +79,7 @@ function webform_components_form($form_state, $node) {
   $form['add']['name'] = array(
     '#type' => 'textfield',
     '#size' => 24,
+    '#maxlength' => 255,
   );
 
   $form['add']['type'] = array(
