Unfortunately, the username and password you have entered do not match!

Registration

Unfortunately, this username is already taken!

Unfortunately, this e-mail address is already used!

Please retype the verification code.

All fields are required

Simple calculation with RSForm!Pro

Simple calculation with RSForm!Pro
In this tutorial we will describe how to perform some field calculations in RSform!Pro and displaying the result in the "Thank you !" message.

You can start by creating a new form called "Calculation". We will need to add 4 form components with the following settings:

1. Field name : Field1, Caption : field1, Validation : numeric, Field Type : Text
2. Field name : Field2, Caption : field2, Validation : numeric, Field Type : Text
3. Field name : total, Field Type : hidden
4. Field name : Field4, Caption : calculate, Field Type : submit button,
Additional attributes:
onclick="document.getElementById('total').value = parseInt(document.getElementById('Field1').value) + parseInt(document.getElementById('Field2').value);"

On the "Thank You" tab please edit the Thank You message:
The result of the calculation is: {total:value} Note: Field name is Case Sensitive.
Feedback