search for: overrwrit

Displaying 1 result from an estimated 1 matches for "overrwrit".

Did you mean: overrwrite
2006 Jun 15
1
Ok, I''m stumped on arrays of form fields
...ote to show the user all the Links currently attached, and add more. But the form itself starts out with 0 links. What I''d like to do now is construct the form with a couple of default "Place link here" objects in the array, and show them as text fields so that the user can overrwrite them with their own data. I successfully did this with just one empty link by having: <%= text_field ''link'', ''body'' %> and then looking for param[:link], but I''m stumped on the whole array syntax thing, especially when I need to prepopulate...