How to create a form with calculations and payment options?