Introduction
Number questions are ideal for quantitative answers. TaroWorks allows the user to collect both whole numbers (currently up to 9 digits) and decimal numbers. A numeric keypad will automatically appear making it easy for field officers to input the data. Furthermore you can set the maximum and minimum range of acceptable answers to improve data accuracy.
Whole number questions can also be used to control repeated sections.
This document will detail how to add a Number Question to your form and how to answer it in the device.
Whole number questions can also be used to control repeated sections.
This document will detail how to add a Number Question to your form and how to answer it in the device.
How to Add a Number Question |
- Edit an existing draft form or start a new one. Go to the Question Builder tab.
- On the left margin, click Number (red arrow) to add the question to the bottom, or click and drag it to insert into your form.
- You may choose the type from whole number or decimal number by using the Type dropdown (red box).
- Enter a Caption. Add Supporting text and check Required as desired.
- (Optional) You can set the Minimum and Maximum range of an acceptable answer by entering a value in the respective fields.
- Click Save to save the section.
Scoring
- Scoring is not available for Number questions.
Logic
- You can set show/hide logic for a Number question as normal.
- Number question can be used as condition for other questions. Your options are:
- Answered / not answered;
- Does the entered number exactly match / not match a certain value;
- Greater than a certain value; and
- Less than a certain value.
Field Mapping
- Both Whole and Decimal Number question, the compatible field types for mapping are:
- Number;
- Currency;
- Percent;
- Text;
- Text Area;
- Long Text Area; and,
- Rich Text Area.
- From TaroWorks 4.9, you can map directly to phone numbers. However if you choose Whole Number, the maximum number of digits will be (nine digits), you can however map phone number fields to text field whose limit is 40 characters.
- Warning: If the answer entered in the device is longer than what the number field allows, you may encounter an error upon syncing that blocks the form from submitting. Similarly decimals that are too long could be truncated after syncing.
- For more, please refer to the Question-Field Mapping Compatibility Table.
Passing Values through Hierarchy Drill Down
- You may pass values from fields in the Hierarchy Drill Down into a Number question.
- Please refer to Building New Jobs for more information.
How to Answer a Number Question in the Device |
- When you reach a Number question, tap the box to bring up the on-screen numeric keypad.
- Type your text into the box. When finished, swipe to continue to the next question. If you have exceeded the range of acceptable values, an error message would show and not allow you to advance.
Tips and Tricks
- Remember that the Android app can allow at most 9 digits for whole numbers when designing your form.
Comments
0 comments
Please sign in to leave a comment.