How to get the value of a text field

Hi All

Can anyone tell me how to get the value from a text field in Ruby not
from
javascript
(i can get the value from java script by calling “getElementById()”)
Lets say text field is like this

<%= text_field ‘confirmed_check_in’, ‘baseLeaseFee’,‘size’=>10 %>

Please Help me

hi,

if I understood your question
in controller you can have
params[:confirmed_check_in][:baseLeaseFee]

~gaurav

Hi Kushan,

Kushan J.:

Can anyone tell me how to get the value from
a text field in Ruby not from javascript

For an understanding of the basics of Ruby on Rails, you might want to
tackle a tutorial or two. Here’s a link to one Curt H. and I
recently
did.

http://www.onlamp.com/pub/a/onlamp/2006/12/14/revisiting-ruby-on-rails-revisited.html?page=1

Welcome to Rails!
Bill

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs