diff --git a/FormBuilder.php b/FormBuilder.php index 2b5bb63..d3bfb91 100755 --- a/FormBuilder.php +++ b/FormBuilder.php @@ -410,7 +410,7 @@ class FormBuilder { $options['id'] = $this->getIdAttribute($name, $options); - $options['name'] = $name; + if ( ! isset($options['name'])) $options['name'] = $name; // We will simply loop through the options and build an HTML value for each of // them until we have an array of HTML declarations. Then we will join them