diff --git a/inc/form.php b/inc/form.php
index 56afd3fec8247fb2bd64f6ecff8fdd1502a066d7..4e245c93a74895ae26758e6ed8343344595d29c2 100644
--- a/inc/form.php
+++ b/inc/form.php
@@ -63,14 +63,20 @@ class Doku_Form {
         if(!is_array($params)) {
             $this->params = array('id' => $params);
             if ($action !== false) $this->params['action'] = $action;
-            if ($method !== false) $this->params['method'] = $method;
+            if ($method !== false) $this->params['method'] = strtolower($method);
             if ($enctype !== false) $this->params['enctype'] = $enctype;
         } else {
             $this->params = $params;
         }
 
         if (!isset($this->params['method'])) {
-            $this->params['method'] = 'POST';
+            $this->params['method'] = 'post';
+        } else {
+            $this->params['method'] = strtolower($this->params['method']);
+        }
+
+        if (!isset($this->params['action'])) {
+            $this->params['action'] = '';
         }
 
         $this->addHidden('sectok', getSecurityToken());