Fixed form validation and adding server side form handle

What he said.