Filled data in the form are cleared when going back after getting an error