How to Add Simple Mathematical Calculations to Your Form
Are you looking for a way to incorporate basic mathematical calculations into your Wufoo page? For example, if you have currency fields and you want them to automatically add, subtract or calculate percentages as the user enters in new info, you may be wondering whether there's a way to do this.
Although we don’t currently have a calculating feature built in, we'll show you the workaround so that you can incorporate basic mathematical calculations into your forms.
Steps to include a simple mathematical calculator on your form
To add the simple mathematical calculation feature, you'll need to host the form on your own site and then follow these steps:
- Write the script to submit the data to Wufoo via the submit API
- Program the script to do the calculations
- Display the calculated number when the user is redirected to the next page
That's all there is to it. Happy calculating!