JSFiddle - React, Tailwind, and code Playground

HTML

<p>Right-click (or Ctrl-click on MacOS, or whatever brings up context menu on your system) on the form field that you want Vivaldi to use for %s substitution, and click "Add as Search Engine...":</p>

<form action="/some-GET-handler.php" method="get">
  <fieldset>
    <legend>GET form</legend>
    <input type="text" name="field1" value="" placeholder="field1"><br>
    <input type="text" name="field2" value="" placeholder="field2"><br>
    <input type="submit" value="Submit">
  </fieldset>
</form>

<br>

<p>However, this doesn't work yet in Vivaldi, as of Snapshot 1.9.818.3, for POST forms, despite Vivaldi now supporting POST searches if you edit a search engine entry via Settings:

<form action="/some-POST-handler.php" method="post">
  <fieldset>
    <legend>POST form</legend>
    <input type="text" name="field1" value="" placeholder="field1"><br>
    <input type="text" name="field2" value="" placeholder="field2"><br>
    <input type="submit" value="Submit">
  </fieldset>
</form>