0
I need to compare two date fields in the same form, and the difference between them has to be over 18 years, otherwise an error must be issued.
<form>
<input type="date" name="datanascimento">
<input type="date" name="dataIngresso">
<input type="submit" value="Enviar">
</form>
Share your code with us, otherwise we won’t be able to help.
– Renan