Add a tally counter

This example shows how to add a tally counter to your form. It displays a button on the form that increments a numeric field when tapped.