title: Is it possible to have a form input text have two action outputs?
body: <p>What I would like to do is be able to type something into the form input text field and press one of the buttons to search those results to my choosing: Google, Bing, DuckDuckGo or any others I want to add.</p>
  <p>I have this:</p>
  <pre><code>&lt;form method=&quot;get&quot; action=&quot;https://www.google.com/search?=&quot;&gt;
  &lt;input type=&quot;reset&quot; /&gt;
  &lt;input type=&quot;text&quot; name=&quot;q&quot; autocomplete=&quot;off&quot; autofocus /&gt;
  &lt;input type=&quot;submit&quot; value=&quot;Google Search&quot;/&gt;
  &lt;input type=&quot;submit&quot; value=&quot;Bing Search&quot;/&gt;
  &lt;/form&gt;
  </code></pre>
  <p>I did see a post on here but unfortunately, the code wasn't complete:
  <a href="https://stackoverflow.com/questions/56433813/is-it-possible-to-have-two-actions-on-a-form">Is it possible to have two actions on a form?</a></p>
  <p>That post showed</p>
  <pre><code>&lt;form id=&quot;search&quot; action=&quot;&quot; method=&quot;get&quot; onsubmit=&quot;javascript: return SubmitForm();&quot;&gt;
  &lt;.... ret of the form&gt;
  &lt;/form&gt; 
  </code></pre>
  <p>and js</p>
  <pre><code>function SubmitForm()
  {
      showResultDiv();
      document.forms['search'].action='http://www.google.com/search';
      document.forms['search'].target='frame_result1';
      document.forms['search'].submit();
  
      document.forms['search'].action='http://www.bing.com/search';
      document.forms['search'].target='frame_result2';
      document.forms['search'].submit();
      return false;
  }
  </code></pre>
  <p>From the looks of it, it's possible but not sure how. Any ideas without PHP.  Just HTML and JS?
  Thanks for your time.</p>