On fly Calculation problem


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.


On Jul 9, 3:02 am, “removed_email_address@domain.invalid” removed_email_address@domain.invalid

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.