Make calculations in your forms such as additions, subtractions, multiplications, and divisions!
No MoreApp account yet? Sign up here.
1. Install the Calculation-widget
To make calculations you need to enable the Calculation-widget. You can enable the widget in the MoreApp Marketplace. You can find the Calculation-widget under the Widgets tab. Press install and go to the MoreApp Platform.
2. Add a Subform
In this example we will use hours worked times the hourly wage. Select the form and click Edit Form. Double click on the Subform-widget to insert it in your form, now you can add the Lookup-widget along with the Number-widget. Click on the pencil of the Lookup-widget to edit the widget, and add the days of the week to the options field. Lastly, edit the Number-widget and name it as Hours.
3. Summing up
Now we will sum up the hours of the week. Go to the main form. Under the Widgets tab you will see the Installed tab, here you can find all the widgets you downloaded from the Marketplace. Double click on the Calculation-widget to add it to your form. Now you can edit the widget by clicking on the pencil and choose summing up (+) for the Operator field. Now as a Calculation Term, you can select Hours. Always click on Save when you're finished editing your form.
To multiply the hours worked by the hourly wage, go to the Marketplace and install the Price-widget under the Widgets tab. Once you have clicked on Install, you can return to the form. Insert the Price-widget from the Installed tab and edit the widget to choose a currency. Insert another Calculation-widget and select Multiply ( * ) as the Operator. Lastly, as the Calculation term, select Hours and the Cost per hour. After that, Click Save & Publish.
5. Calculating with fields from the Search-widget
It's also possible to calculate with fields from the Search-widget.
You can also calculate with Catalogue-widgets!
You have successfully installed and configured the Calculation-widget! Now you can divide, subtract, add, and multiply in seconds!
Do you want to keep up to date with the latest video tutorials? Visit our YouTube channel and hit the Subscribe button!