So currently I have a form like this:
Maybe you can use the jQuery Form Plugin. The code will be something like it: