How to add a total field on form?