public function setAllowedExtensions($value)
 {
     if ($value === NULL) {
         //any file type will be allowed
     } else {
         $this->_allowedExtentions = JsonFormBuilder::forceArray($value);
         for ($i = 0; $i < count($this->_allowedExtentions); $i++) {
             $this->_allowedExtentions[$i] = trim(strtolower($this->_allowedExtentions[$i]));
         }
     }
 }