Posts by Gustavo Melo • 16 points
1 post
- 
		0 votes1 answer38 viewsA: How to Validate the form without Refreshing the page and lose the fields already filled?I believe you can do it in two ways. Send via ajax, avoid the submit button pattern and thereby add a function to the event click: button.addEventListener('click', function(e){<br>…