It is even easier with the TemplateForm! You just need to handle the Change
event of the input components (Price and QTY) and use this code: ${formData.Total} = ${formData.QTY} * ${formData.Price}
Here is the updated application: calculated-form-fields.zip.