I ave a question, I've builded an form in HTML. It has an input field called postal code. Now I want the form to check if the postal code entered in that field is in range before submitting.
So if the postcalcode isn't in range it won't submit and notices the user the postal code isn't in range. What's the best way to do that?
This is my input field code
<div class="field-element ">
<input type="text" name="MERGE4" id="MERGE4" placeholder="Postcode *" class="shortnice form-input required"/>
</div>