form reserve post value

after submit ,when show some error summary ,the textfiled`s value is empty,how to reserve to let the user correct it.thks.

i now set the value with it`s $_POST[‘var’],does it provide some better solution?

i realize that i haven

i realize that i havent wrote the rule, its ok now~