> For the complete documentation index, see [llms.txt](https://help.autify.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.autify.com/nocode-web/en/faq/faq-create-scenario/is-it-possible-to-use-data-to-select-radio-buttons-or-checkboxes-in-a-click-step.md). Agents can also search and read this documentation through its [MCP server](https://help.autify.com/~gitbook/mcp).

# Is It Possible to Use Data to Select Radio Buttons or Checkboxes in a Click Step?

While Click steps cannot dynamically select radio buttons or checkboxes using the Data feature, you may be able to achieve this by using JS steps based on values from your data source.

## Configuration Example

The following is an example of dynamically selecting radio buttons using the [Data feature](https://help.autify.com/nocode-web/en/autify-university/foundation/creating-a-scenario/creating-data.md). Refer to this example when switching radio button options for each test data set in an application like the one below.

![](https://1964297753-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVdZPTgwISYb3LhjgKnw6%2Fuploads%2Fgit-blob-fe383801a812af2378d2d96349d98d4cdd08afd4%2FData-click03\(3\).png?alt=media)

Before starting, upload a CSV file from the **Data** tab of your scenario containing the values (such as selectors, XPaths, or value attributes) needed to specify each option.

![](https://1964297753-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVdZPTgwISYb3LhjgKnw6%2Fuploads%2Fgit-blob-570def8b89e3d93362158a333bd26af066888a53%2FData-click02e.png?alt=media)

1. Replace the Click step with a [JS step](https://help.autify.com/nocode-web/en/faq/faq-create-scenario/faq-js-step.md) to perform the click action.
2. Set the element specification part of the JS step as an [argument](https://help.autify.com/nocode-web/en/tips-1/js-steps-tips/example-of-using-return-and-argument-at-js-step.md).
3. Select the registered Data as the Argument values.

   ![](https://1964297753-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVdZPTgwISYb3LhjgKnw6%2Fuploads%2Fgit-blob-f9ba097cc5c2d446923b202a4c1ae51895993bce%2FData-click01e.png?alt=media)

{% hint style="info" %}
Specify the JS step code and the target element selectors or XPaths according to the application under test.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.autify.com/nocode-web/en/faq/faq-create-scenario/is-it-possible-to-use-data-to-select-radio-buttons-or-checkboxes-in-a-click-step.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
