For this type of project, you can use the Survey template (view code in the sandbox). It has pre-configured validation and task layout.

Components used in the example

What else can be configured

If this template doesn't meet your needs, see other examples in this section.

Group questions together

Ways to group questions:

Use the component to put a frame around a group of questions.

Add buttons and dependent answer options

The helper.switch component displays an interface element after a specific response is selected. In the example, clicking one of the buttons opens a list of options.