I am working on a web video game project written in HTML/JavaScript and I ran into an issue.I have been…

I am working on a web video game project written in HTML/JavaScript and I ran into an issue.

I have been trying to validate this form and the code I added usually works for me with just JavaScript.

However, this form has specific angular.js code around it and I am having trouble validating the form. When I hit the submit button it just runs the submission code anyway without checking that all the validation rules passed. NOTE: The submit code works 100% on its own.

Do you know how I can add this validation properly that would make the page validate before firing off the angular stuff?

Another problem that has happened is that I want to have the span tags I added display a success/error next to the associated field to the right on the same line. They appear on the next line for some reason.

 

 
Looking for a similar assignment? Our writers will offer you original work free from plagiarism. We follow the assignment instructions to the letter and always deliver on time. Be assured of a quality paper that will raise your grade. Order now and Get a 15% Discount! Use Coupon Code "Newclient"