title: Getting an error when using Gorilla Schema
body: <p>I'm trying to use Gorilla's Schema decoder to read in all the post values from my form, but it's not working as expected. I get the schema: invalid path "name" error. </p>
  
  <p>My HTML looks something like this</p>
  
  <pre><code>&lt;form action="/register" method="POST"&gt;
  &lt;label&gt;Username&lt;/label&gt;
  &lt;input type="text" name="name" required&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>My logic for processing the registration form in Go looks something this:</p>
  
  <pre><code>err := r.ParseForm()
      if err != nil {
          log.Println("Form could not be parse")
                  return
      }
  
      var regForm model.RegisterForm // Declare the registration form structure
  
      decoder := schema.NewDecoder() // Creates a schema decoder
      decoderr := decoder.Decode(&amp;regForm, r.PostForm)
      if decoderr != nil {
          log.Println(decoderr)
                  return
      }
      // More code goes here 
  </code></pre>
  
  <p>My RegisterForm struct looks something like this: </p>
  
  <pre><code>type RegisterForm struct {
      Username string            `schema: "name"`
      Errors   map[string]string `schema: "-"`
  }
  </code></pre>
  
  <p>I looked at the docs, but I'm not sure how to match the values of the form properly with my struct. </p>