parse form in view
send form to server