type error
form submit with ajax validator