Added some more server side validation. Seems to be tricky to do via jQuery, will need to look into it more tomorrow