Clear the form if the ajax request was successful