This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I have an insert form, which only allow submit if all the input is validated. But in my case, even though the form still displays the errors, but it still allow the submit button to work. Here is my code:
The checkAll() function for submit form validation.