I have two input fields and want to check if one field is greater than the other. I want to check this before the submit-Button is clicked.
<input type="text" name = "minValue" pattern="(|-)?[0-9]{0,3}?" id="min_value" value="" required/>
<input type="text" name = "maxValue" pattern="(|-)?[0-9]{0,3}?" id="max_value" value="" required/>
<button type = "submit" name = "submitcheck" id = "submit_check"> Let´s Go </button>
Do I need jquery? I want to do this check before checking the submt button.