[eluser]surf66[/eluser]
Hi, let me try and explain this, bear with me...
I have a list of books in an admin panel and when the user clicks the edit button next to a particular book they are redirected to the edit_book page. A form displays and all the information from the db is pulled in and echoed in the relative fields. for example the book title is displayed in the title field so the user can edit it.
On my add book form I have used the technique you have stated as that simply refreshes the form and puts back into the form fields what the user typed in and you can then show the errors. However when the user edits the data in the edit form and clicks submit, if an error occurs with one of the inputs, the user is redirected back to the form so that I can show the errors but! I then get errors because the variables which store the book information from when the edit form is first loaded are now unset for want of a better term.
I appreciate this may be hard to understand and I don't want it to sound patronising in any way I'm just tying to explain it in as much detail as possible. Anyway It seems to work for me I just need to know if I can do this same thing using the form helper.