+ 2

The form will submit to its action if onsubmit returns:

true or false

8th Oct 2018, 4:46 AM
Alvin Dela Cruz
Alvin Dela Cruz - avatar
2 Respuestas
+ 4
I think it needs to return true, returning false will abort the process, if I understood it correctly. P.S. Also lookup for event.preventDefault.
8th Oct 2018, 7:17 AM
Ipang
0
true
21st Jan 2023, 3:58 PM
Віталій Калатинець
Віталій Калатинець - avatar