I'm not sure I understand, but I would guess the answer is: <td><%=h number.m1 * 25 %></td>
On Mon, Jul 27, 2009 at 4:26 PM, Mark Preston < rails-mailing-l...@andreas-s.net> wrote: > > Can anyone tell me how to use form field values on a different part of > your form? > > Example > > If I have a value being retrieved from the DB like this: > > <td><%=h number.m1 %></td> > > > how do I take that value and do something like this: > > <td><%=h number.m1 %></td> X 25 > > Where I multiple the value retrived by 25 and display it in a new TD > > Thanks > -- > Posted via http://www.ruby-forum.com/. > > > > -- ===================== Jim http://www.thepeoplesfeed.com/contribute --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---