rubyonrailsin

A Ruby and Rails talk

Monday, March 29, 2010


[Rails] Autocalculate field in a form

by rubyonrailsin 0 comments

Tag


Share this post:
Design Float
StumbleUpon
Reddit

Hi All,

I have a form with three field X,Y and Z.

I want to filed Z automatically according to the X and Y values. x and y
option fileds.

eg

if x filed value is "j" and Y field value "m" then Z field value must
filed automatically with "k".

I would like to do this with onfocus method.
--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment

Subscribe feeds via e-mail

Blog Archive