# How to add a radio button in node red

**URL:** <https://discourse.nodered.org/t/how-to-add-a-radio-button-in-node-red/80601>\
**Category:** Dashboard\
**Created:** [16 August 2023 08:45 UTC](https://discourse.nodered.org/t/how-to-add-a-radio-button-in-node-red/80601 "2023-08-16T08:45:56Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![smanjunath211](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/smanjunath211/32/95742_2.png) [@smanjunath211](https://discourse.nodered.org/u/smanjunath211)\
**Post date:** [18 August 2023 10:02 UTC](https://discourse.nodered.org/t/how-to-add-a-radio-button-in-node-red/80601/15 "2023-08-18T10:02:24Z")

</div>

> [@EXAMPLE (template) - displaying a list using Radio buttons, returning the selection, reversing the selection](https://discourse.nodered.org/t/example-template-displaying-a-list-using-radio-buttons-returning-the-selection-reversing-the-selection/670):
>
> Problem: You have a list of items that you want to display and allow the user to select one and return that to the flow. In this case we will display a list of songs and show how to return the one picked. In addition, to show how to use a script in the template, we will show how to reverse the song name and return it. Sample data: It's been a Hard Day's Night Help! Rocky Raccoon We will use a function node to create the table like this: [13%20AM] First, we will just display the table usin…

---

_[View the full topic](https://discourse.nodered.org/t/how-to-add-a-radio-button-in-node-red/80601)._
