How can I perform calculations in my form?