How to add a discount code to a form calculation