• Call Us
  • 360.322.4907 or 610.562.2900

Monday - Friday ( 10.00 - 17.00 EST / 07.00 - 14.00 PST )

What Do I Put in the Result Field?

nsformula results

Result1 is the internal result ID. The default is result1, result2 and result3. It's what the extension uses to identify the result set. It can be left as the default settings or you can change it so the formulas are easier to manage.

Label is the lable that will show up on the front end.

Formula is where the magic happens. Here you will insert the formula you want to calculate. There are a few crevats but mostly it functions like a normal calculator.

There are a few quirks to keep in mind.

  • Use parentheses whenever possible. ie field1+field2 should be (field1+field2)
  • Don't use brackets [ ] or { } will not work. Instead use parentheses. ie ((field1+field2)+(field2/field1))
  • The script will follow the mathmatical order of operations.
  • For exponents use ^ ie six squared would be 6^2 Note: 6exp2 will not work.
  • When calculating more than one result it is possible to use the result from another set of results. ie (result1*0.5) It will only work if your calculating integers or floats. Otherwise you will need to enter the long version using only fields.
  • Don't use percentages, use decimals. ie 50% would be 0.5

Format is how you want the answer to be displayed.

Decimal places is the number of decimal places you want the answer to display.

There are 3 sets of results. You do not have to use all 3. Simply leave unused fields empty and they won't display on the front end.

  • Friday, 21 July 2017

Support is currently

Support Forum

  1. 0 subcategories
CiviCRM for RSForm
  1. 2 subcategories
NS Members Only
  1. 2 subcategories
NS Formula
  1. 2 subcategories
Marysville, WA 98270 United States
(360) 322-4907
Hamburg, PA 19526 United States
(610) 562-2900


Keep up-to-date with our latest news.