I have been trying to find this answer, but i don't seem to be able to find it.

Lets say the user has submitted a form with invalid data. The form process the data and generate the problem on the form (like most form page do). The question here is, how do you keep the previous data that the user enter before submitting?

I hope this is clear.

Thx