all funtionality now working, only thing left would be to have each form field link to an error message on ajax return