Is it possible that your if..else is always just resulting in the last else block and that's why it's submitting? You can put in some console.log()s to check the values?
JorgeM
Industrious Poster
4,156 posts since Dec 2011
Reputation Points: 297
Solved Threads: 564
Skill Endorsements: 119