Run JavaScript validation script on form submit in plugin

Two issues –

validateForm is an existing javascript function in WordPress core, change it to something else. Always prefix things with a unique string to prevent these problems.

Your onsubmit needs return added: onsubmit="return your_function()"