adnan khan wrote in post #995336: > In our raols application we have a page where upon submit we save data > in db. On this page, we have some fields which are dynamically > generated and I see that in case of a validation error when page > reloads it doesn't populate these fields with the values present upon > posting.
What do you mean by your fields being dynamically generated? It's the normal case for all the fields, along with the form itself, to be dynamically generated in Rails applications. That's what form helper methods do. Do you mean you're adding them with JavaScript? If that's the case then JavaScript would be needed to manage their contents as well. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

