> For the complete documentation index, see [llms.txt](https://help.pickzen.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.pickzen.com/developers/api/how-to/how-to-get-the-answers.md).

# How to get the answers

Imagine you have these two slides and you need to get the answers:

![](/files/-LsGdsE7S8g869YOV7hz)

![](/files/-LsGdvCzG-a0UlYcY6Y4)

The first thing you need to do is get each answer and field IDs from the IDs section:

![](/files/-LsGh8YmA1vUXuoaUgMl)

Now you can enter the following code in the slide JavaScript section:

```javascript
var isFlat = Extension.isSelectedOption(102, slides, history);
var isFlat = Extension.isSelectedOption(103, slides, history);
var name = Extension.getFormResponse(115, slides, 1, history);
var email = Extension.getFormResponse(115, slides, 2, history);
```
