There are 10 different field types in draftonce
The default type is a text field. Text fields are good for simple answers.
Text Areas are larger than Text Fields, and are good for longer answers.
Radio buttons allow users to select only one answer
- Radio buttons are good for times when you want to limit the answers available and the users is only supposed to pick one.
- When you set a field type to radio (or checkbox, drop-down list, and list), another section will appear for you to enter the choices available. Hit tab to quickly add another option or hit enter to finish.
- In the image above, you can see that we have added “Orlando,” “New York,” and “Los Angeles” as possible answers.
Check boxes are similar to radio buttons except the user can choose more than one answer
- Check boxes are good for when you want to limit the answers available but allow the user to pick more than one.
- Similar to radio buttons, when you set a field to Check Box, another section will appear for you to enter answer choices.
- Above you can see what radio buttons and check boxes look like in an interview.
Lists and Drop-Down Lists
- Lists are useful for times when you want the user to be able to pick more than one answer from a predefined list and there are a lot of choices. Lists will create a compact list of choices that the user can scroll through instead of one large list that you would get with checkboxes.
- Similarly, drop-down lists are useful for times when you want the user to pick one answer from a large selection of predetermined answers.
Calculation fields are used to calculate a value based on answers given in previous fields.
To create a calculation field:
- Set the field type to “Calculation”.
- Choose the fields that will be used in the calculation.
- Choose what type of calculation will be performed. draftonce supports Addition (SUM), Multiplication (PROD), and Average (AVG).
- Set the precision. This allows you to determine how many decimal places will be returned.
- Users do not see calculation fields, only the fields used in the calculation
- In the setup pictured above, [[quantity]] and [[cost]] are being multiplied together to calculate [[total]]
- The tagged form looks like this: “Jim ordered [[quantity]] apples and each one costs $[[cost]]. Jim will have to pay $[[total]]”
- If a user supplies an answer that is not a number (i.e. symbols or letters), their entry will be ignored
Note: Conditionals will be addressed in a separate section