How to Add Simple Math Calculations to Your Form
Are you looking for a way to incorporate basic math 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 if there’s a way to do this.
While we currently don’t have a calculating feature built-in, we’ll show you the workaround so you can incorporate basic math calculations into your forms.
Steps to include a simple math calculator on your form
To add the simple math calculation feature, you’ll need to host the form on your own site. Then, follow these steps:
- Write the script to submit the data to Wufoo through 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. Enjoy the calculating!