Forum: Rails deployment On fly Calculation problem

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
3f248cb2984738ff656fcd56a5d8cd55?d=identicon&s=25 (Guest)
on 2007-07-09 10:03
(Received via mailing list)
Hello friends,

 Myself Hasmukh Rathod. I'm in last sem. of engineering. I'm trying
to implement one small rails application. In this application i face
one problem. The problem is....

 there are three text_fields in my Form

 Quantity - Text_field1

 Rate - Text_Field2

 Total - Text_Field1 * Text_Field2


 I hope u all get my prolem. My requirement is when i enter the value
of Quantity and Total after that when i clicked to Total text_field at
that time i want multiplication of that both value.  I'm waiting for
the good solution. And i think it is d best place
where i can get my solution. Hope i will get as fast as possible.
A0c5c76e3c9ebf995d2514e743c08907?d=identicon&s=25 (Guest)
on 2007-07-11 20:55
(Received via mailing list)
On Jul 9, 3:02 am, "" <>
>  Rate - Text_Field2
> > with regards,
> > Hasmukh Rathod.- Hide quoted text -
> - Show quoted text -

use javascript.  there are several events you can tap into to execute
the multiplication.
This topic is locked and can not be replied to.