The Choose One tool allows the user to select an answer from a multiple choice list. Note that choose one questions can be used inside a Questionnaire container to organize the questions within a grid.
The Choose One question widget includes the following special properties that you can use to control the look and behavior of Choose One:
Caption text - The caption is used in most cases to ask the question. In others it may be a column heading. This is a required field. Please keep in mind that captions will wrap when form elements do not fit within the width of the screen. It is important to consider how your captions will be displayed. Captions on a larger screen might look perfect, but on a smaller device, they may be forced to wrap several times. In this situations, smaller captions should be used where possible.
Hint - providing additional information on how a question should be answered can be achieved easily using the Hint option. The text for hints is smaller the caption. The maximum number of characters supported is 500, including spaces.
Additional HTML styling can be applied on hints and captions.
Data name - Since the data name is a required field, doForms will default the data name to the caption/label. If this field is blank doForms will provide a generic name with a sequential number. We recommend that you provide a descriptive data name that is easily identifiable. The data name is used throughout the system and non-descript names can make it difficult to select the item you need for example when performing a calculation.
Underlying value & answers
Specifies the values of the multiple choice answers. Each option includes an answer name as presented to the user and an underlying value. Underlying values can be descriptive or alpha-numeric codes of your choosing. Although spaces are permitted, it is best to use underscores. The maximum number of characters for answer name is 500, including spaces. The maximum number of characters for underlying value is 500. Spaces are not permitted in the underlying value field.
Default value - The value of the field first presented to the user when they see the question. Unless the question is marked as Read Only, the mobile user will be able to change the value. This is very useful where the answer to a question is likely to repeat itself over and over. Setting a default value minimizes the work for mobile users. Note that repeating values can also be set on the mobile app using the Remember Answer option.
Display - The appearance of the Choose One depends on the selected option; these are:
- Down - lists as radio buttons going down the page.
- Across - lists as radio buttons going across the page.
- Simple drop -down - Displays the choose one question as a simple drop-down, rather than a stack of radio buttons.
- Ignore across if screen smaller than... selection allows you to designate what should happen if the device crosses a size threshold. If the size of the device is less than the selected item, the rules will be ignored and the list will be used.
Appearance - doForms allows you to set a default set of appearance parameters. This eliminates the need for you to have to set colors and other parameters each time you add an element to your form. You can however override the default settings for any tool by simply picking the Custom option. You can also edit the default by clicking on the edit defaults option.
Remove Space - This option allows you to remove the spacing before or after the tool. This provide allows the tool to appear a a cohesive part of the group of questions.
Read only - The read only option is provided to address a specific circumstance. It allows you to treat dispatchers and mobile users differently so that you can set rules for each independent of the other. One may be allowed to edit a field and the other may not be allowed to edit a field.
Required - Determines whether or not this field must be filled-in before continuing to the next question. On the mobile device, a form with an empty required field may be saved as “incomplete” but not as “complete” and hence cannot be sent to your website.
Only display this question if
This is a very powerful option as it allows you basically hide form elements only exposing them if the answer to a question in your form meets the criteria you have set. For example if you have a choose one question with the answers yes and no than you can say only display this question if the answer to the choose one is equal to yes. You can even combine other criteria like and color is not equal to red. Being to hide fields unless they are needed makes form more user friendly.
This option allows you to navigate the user to a specific location in the form based on how they answer the current question.