I have the following fields:
IntheseareregisteredthevaluesallowedbythePostOfficetocalculatethefreight.AlthoughIlimitedthefieldstoacceptedvalues:
<divclass="col-lg-3">
<div class="input-group margin-bottom-sm">
<input class="form-control" name="Largura" type="number" min="11" max="105" placeholder="Largura" value="<?php if($_POST["Largura"]){ echo $_POST["Largura"]; }else{ echo "11"; } ?>">
<span class="input-group-addon" style="background-color: #F8F8F8">cm</span>
</div>
</div>
<div class="col-lg-3">
<div class="input-group margin-bottom-sm">
<input type="number" min="2" max="105" name="Altura" class="form-control" placeholder="Altura" value="<?php if($_POST["Altura"]){ echo $_POST["Altura"]; }else{ echo "2"; } ?>">
<span class="input-group-addon" style="background-color: #F8F8F8">cm</span>
</div>
</div>
<div class="col-lg-3">
<div class="input-group margin-bottom-sm">
<input type="number" min="16" max="105" name="Comprimento" class="form-control" placeholder="Comprimento" value="<?php if($_POST["Comprimento"]){ echo $_POST["Comprimento"]; }else{ echo "16"; } ?>">
<span class="input-group-addon" style="background-color: #F8F8F8">cm</span>
</div>
</div>
<div class="col-lg-3">
<div class="input-group margin-bottom-sm">
<input type="text" name="Peso" id="peso" class="form-control" placeholder="Peso (ex: 0.300, 1.000)" maxlength="5" value="<?php echo $_POST["Peso"]; ?>" data-inputmask="'alias': '9.999'">
<span class="input-group-addon" style="background-color: #F8F8F8">kg</span>
</div>
</div>
I would like to know if it is possible to change the field and if the value is less than the higher than allowed, an automatic message will appear, without the need to click on the "Save" button.