Sum of two fields in the same doctypes

I’m new to this area and I’m learning a lot with Frappe.

I created an application where I made a new request form, in this form I have 3 fields (variables).


I need to add the two fields and display it in the insured_amount
Can I do this directly from the frontend?

Hey mate,

Depends on why you need to store the total value.

For print format purposes you can use Jinja.

If you want for reference only you can use virtual fields (check docs).

If you want to store the value in DB;

Thank you for the support I was able to do.