This sample code constructs a calculation formula composed of Number fields and a Radio button field.
Sample Image
Sample Code
Notes
Make sure to match the Field code of your fields, with the Field code written in the code.
Refer to the Tutorial page, on how to add scripts to your app.