title: Schema.org SearchAction error for Google Sitelinks Search Box: "valueName: missing and required"
body: <p>We are using the Schema.org <code>SearchAction</code> on our site in hopes to get the Sitelinks Search Box showing on the Google Search results. I have implemented the code exactly as it says on <a href="https://developers.google.com/structured-data/slsb-overview" rel="nofollow noreferrer">Google's Developer Page</a> but it is still returning errors when I test it in <a href="https://developers.google.com/structured-data/testing-tool/" rel="nofollow noreferrer">Google's Test Tool</a>.</p>
  
  <p>Here is the code I am using:</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;div itemscope itemtype="http://schema.org/WebSite"&gt;
      &lt;meta itemprop="url" content="http://www.examplesite.com"/&gt;
      &lt;form itemprop="potentialAction" itemscope itemtype="http://schema.org/SearchAction"&gt;
          &lt;meta itemprop="target" content="http://www.examplesite.com/catalogsearch/result/?q={q}"/&gt;
          &lt;input itemprop="query-input" type="text" name="q"&gt;
          &lt;input type="submit"&gt;
      &lt;/form&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>This is the error that I am getting:</p>
  
  <blockquote>
    <p><img src="https://i.stack.imgur.com/3n5dh.jpg" alt="Structured Data Testing Tool Error"></p>
  </blockquote>
  
  <p>I would like to use Microdata if I can because so far all of our markup uses that. Does anyone know how I might be able to fix this issue?</p>