How to calculate the total amount like sales invoice items table?

Need help to develop the doctype with calculating total amount from its quantity. and also calculating the sum of values in mote than one value of textfields from different modules…

Can you explain clearly - there are many ways to calculate.

Adding a hook to a controller event like “validate” would be the best way to plug in a calculation.

If we give a quantity 5 and rate as 10 and the total amount is calculated automatically in amount. How can i do that for my app??

This is done via client side scripting:

Did you go through the tutorial?

I ll try with Client Side Scripting …Thanks .@rmehta

I ll try with Client Side Scripting …Thanks…rmehta