Forum: Rails deployment On fly Calculation problem

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
(Guest)
on 2007-07-09 12: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

 CreateButton

 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.
(Guest)
on 2007-07-11 22:55
(Received via mailing list)
On Jul 9, 3:02 am, "removed_email_address@domain.invalid" 
<removed_email_address@domain.invalid>
wrote:
>  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.