Remove default form behaviour to handle server response