Is there a way to calculate form fields