--- title: "Is It Possible to Use Data to Select Radio Buttons or Checkboxes in a Click Step?" slug: "is-it-possible-to-use-data-to-select-radio-buttons-or-checkboxes-in-a-click-step" updated: 2026-06-02T06:29:52Z published: 2026-06-02T06:29:52Z canonical: "help.autify.com/is-it-possible-to-use-data-to-select-radio-buttons-or-checkboxes-in-a-click-step" stale: true --- > ## Documentation Index > Fetch the complete documentation index at: https://help.autify.com/llms.txt > Use this file to discover all available pages before exploring further. # 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](/v1/docs/creating-data). Refer to this example when switching radio button options for each test data set in an application like the one below. ![Image](https://cdn.document360.io/a099d8a2-cfd2-42ca-9906-68b4a337f4a5/Images/Documentation/Data-click03(3).png?sv=2026-02-06&spr=https&st=2026-10-30T10%3A48%3A27Z&se=2026-10-30T11%3A48%3A27Z&sr=c&sp=r&sig=3iU%2Ftqvv6YDmm%2FzCUQmV617%2FXPF8eQPS1BgCAhoYjQ0%3D) 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. ![Image](https://cdn.document360.io/a099d8a2-cfd2-42ca-9906-68b4a337f4a5/Images/Documentation/Data-click02e.png?sv=2026-02-06&spr=https&st=2026-10-30T10%3A48%3A27Z&se=2026-10-30T11%3A48%3A27Z&sr=c&sp=r&sig=3iU%2Ftqvv6YDmm%2FzCUQmV617%2FXPF8eQPS1BgCAhoYjQ0%3D) 1. Replace the Click step with a [JS step](/v1/docs/faq-js-step) to perform the click action. 2. Set the element specification part of the JS step as an [argument](/v1/docs/example-of-using-return-and-argument-at-js-step). 3. Select the registered Data as the Argument values. ![Image](https://cdn.document360.io/a099d8a2-cfd2-42ca-9906-68b4a337f4a5/Images/Documentation/Data-click01e.png?sv=2026-02-06&spr=https&st=2026-10-30T10%3A48%3A27Z&se=2026-10-30T11%3A48%3A27Z&sr=c&sp=r&sig=3iU%2Ftqvv6YDmm%2FzCUQmV617%2FXPF8eQPS1BgCAhoYjQ0%3D) Specify the JS step code and the target element selectors or XPaths according to the application under test.