Scripting & More Tab - Formula

  • If you have selected formula as your question type, you will enter your formula in the "Formula" field, located in the Scripting and More tab of the eForm Editor.
  • Formulas are especially useful in scored forms, where the final score for the form is the sum, average, etc. of the points accrued while the patient is completing the form.

Generating a total score:

For example, if you were using the PHQ-9 questionnaire, you could put all of your questions into a section called "phq9q" and then use the following formula to calculate the sum of all of the scores in that section:

Copy Rule

To learn how to round your formula answers to the nearest digit, please refer to: "Limiting the Number of Decimal Places in Formula Calculations".

For more examples of possible score calculations and more advanced scripting articles, please refer to:

Have more questions? Submit a request