On 19 April 2010 15:32, Ze Ca <[email protected]> wrote: > Sharagoz wrote: >> If you know the states name, then you automatically know the capitals >> name, dont you? >> So then it wouldnt be necessary to submit the capital name as a hidden >> field, as you can retrieve it through the state object. >> Or am I missunderstanding something? > > Hi Sharagoz, > > Thanks for the reply! Yes, that is a possible solution, but this is just > a toy project meant for learning about hidden form fields. I'm mainly > curious what I could do with them.
Anything you put in a hidden form field will be available in the params array in the controller. That is about it really. Colin -- 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.

