Forum: Ruby on Rails beginner - default form values

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Simon (Guest)
on 2006-04-28 09:53
I want to build a simple calculator with 1 form and a results page.
The form will be redisplayed with an error message upon an invalid value
I won't be using  any database/active record for this.

The problem i have is when i return to the form page i want to redisplay
the values already entered in the form fields.
Should i use text_field (which seems to be tied to a model) or
text_field_tag and how do i pass these values submitted back to the form
again from my controller.

any help would be appreciated.
cheers, simon.
This topic is locked and can not be replied to.