The Single answer component allows for the selection of one answer only. There are many occasions when an administrator creating a form will request data from responders that requires an answer from a small list of choices. A good example of this is when the interviewee is asked a question that just requires a ‘Yes, No, I don't know’ answer. If you require multiple options, then learn more about <Multiple answers> here. The Single Answer component is similar to Dropdown, but is suitable for a small number of items, as all the answers are visible on the screen.
The Single answer component is very easy to set up for an administrator making up a form and easy to use for the responder collecting data in the field. The Single answer component can also be known by the technical term ‘Radio buttons’. You may find this term used in other help pages.
This is how the component will look once the administrator has dragged and dropped it into a new form.
When you mouseover ‘Single answer’, the pencil icon will appear allowing you to insert the question for the data required.
By hovering over the ‘New option’ fields you can update the text of the option answer for the data required by clicking on the pencil icon.
You will also see an icon for adding an image from the gallery. If this is set, then the image will appear beside the option when being filled in the app. This is useful when you want to highlight items (eg use red cross for No option and green tick for Yes option).
There is also a delete icon for removing the option.
If Skip Logic is enabled then the skip logic icon appears as well.
You can easily create more options for the interviewees by clicking on ‘+Add answer’ and go through the same process.
When you click on ‘++Modify multiple answers’ you can separate the options with a new line. Modifying multiple answers is very helpful when you have a longer list of the answers or if you need to copy the options from one question to another.
You can see three checkboxes at the bottom right of the component:
Set Values: allows you to set a numeric value within the individual answer option for calculation. Find out more about this option on the calculate help page.
Skip Logic: Allows for setting Skip logic.
Required: Checkbox ‘Required’ lets the responder know that the question must be answered. If the Responder leaves the question without an answer, and presses Finish, the error appears and the response cannot be finished until the question is answered.
A popular example for using this component is if the responder is a mechanic, they can specify whether a vehicle has passed or failed during an inspection.
Here is how it looks for your responder on the app.
In the example above, you might also consider using the <Text component> directly below the Single answer to specify which lights failed the test. These components are often linked through Skip Logic.
This would be down to your data collection requirements.
Another one of our favourite examples is when the interviewee is being asked to choose Ice cream flavours from a list such as Chocolate, Vanilla, Strawberry, Pistachio or a Mix of these choices.
In our ice cream example above, a <dropdown component> has been used to provide a further question where the interviewee can choose their favourite mix.
You can also learn more about the full list of the components and their uses within the NestForms app.