title: Spring boot: minimum input < max input in html
body: <p>How can I precise that the max price must be greater than the minimum price?</p>
  <pre class="lang-html prettyprint-override"><code>&lt;div class=&quot;mb-3&quot;&gt;
      &lt;label for=&quot;min_price&quot; class=&quot;form-label&quot;&gt;Min price&lt;/label&gt;
      &lt;input type=&quot;number&quot; step=&quot;0.01&quot; class=&quot;form-control&quot; id=&quot;max_price&quot; name=&quot;min_price&quot;&gt;
  &lt;/div&gt;
  &lt;div class=&quot;mb-3&quot;&gt;
      &lt;label for=&quot;max_price&quot; class=&quot;form-label&quot;&gt;Max price&lt;/label&gt;
      &lt;input type=&quot;number&quot; step=&quot;0.01&quot; class=&quot;form-control&quot; id=&quot;min_price&quot; name=&quot;max_price&quot;&gt;
  &lt;/div&gt;
  </code></pre>