add form

with an error(After sending a form with ajax,as refreshing page ,it
directs to a blank page at the first time, then the second time is
fine.)