form builder element types
What is the Counter Widget?
The Counter Widget allows you to increase or decrease a count with just the tap of a button.
How do I add a Counter Widget to my form?
To add a Counter Widget to your form, please follow the instructions below.
From inside the form builder, click the Counter button from the left-hand menu. You'll see it populate the device view.
On the right-hand side, you'll see the element properties. Enter the name of your element (A), and if you like, a description of what information should be entered in the element when collecting (B).
Note that if you check the Based on Label option, it will create a data column based on the Label on the element.
step 3 optional
By default, the counter widget will increase/decrease by 1. To adjust the increment, put COUNTER_STEPVALUE=X (where X equals the number you want to increase the count by) in the element reference ID.
In this example, we'll increment each count by two.
Save your form.