> For the complete documentation index, see [llms.txt](https://docs.guestlogix.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.guestlogix.io/traveler/mobile-sdks/stripe-payment-sdk/booking-form/answers.md).

# Answers

To record an `Answer` to a `Question`, the `BookingForm` provides the following method

{% tabs %}
{% tab title="iOS" %}

```swift
let answer = TextualAnwer("John", question: question)
bookingForm.addAnswer(answer)
```

{% endtab %}

{% tab title="Android" %}

```java
Answer answer = TextualAnswer("John", question);
bookingForm.addAnswer(answer);
```

{% endtab %}
{% endtabs %}
