Basically, this is the last function called and checks if there were any errors, if so it returns all the errors in one alert message, if not form should proceed on submit.
So if there is an alert(msg) returned, I don't want the form to submit.
Any suggestions on how to add this would be appreciated.
Expand|Select|Wrap|Line Numbers
- function addMsg(){
- alert(msg)
- msg = ""
- }