Couple of ways you can do it, you can store the field value as a session value, and use this as the default value, but what I prefer to do is add server side validation to the form, then using the server behaviors panel, you can set the field value to the validated form value, which will pre-populate the form when it is submitted incorrectly