# Manual form validation - how to return user-entered data?

**URL:** <https://www.ruby-forum.com/t/manual-form-validation-how-to-return-user-entered-data/114736>\
**Category:** Rails\
**Created:** [September 17, 2007, 1:24pm UTC](https://www.ruby-forum.com/t/manual-form-validation-how-to-return-user-entered-data/114736 "2007-09-17T13:24:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [September 17, 2007, 1:24pm UTC](https://www.ruby-forum.com/t/manual-form-validation-how-to-return-user-entered-data/114736/1 "2007-09-17T13:24:56Z")

</div>

I have a form and I want to perform some validation on the fields (not  
with  
validate\_smth because it’s not in the model)

How do I redirect back to the form so that the fields are filled with  
previous data? I manage to get the validation message but the fields  
come  
empty.

Radek
