# AlertController Input (Label or Handler)

**URL:** <https://forum.ionicframework.com/t/alertcontroller-input-label-or-handler/84043>\
**Category:** ionic-v3\
**Created:** [March 24, 2017, 3:48am UTC](https://forum.ionicframework.com/t/alertcontroller-input-label-or-handler/84043 "2017-03-24T03:48:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zodiark23](https://avatars.discourse-cdn.com/v4/letter/z/c67d28/32.png) [@zodiark23](https://forum.ionicframework.com/u/zodiark23)\
**Post date:** [March 24, 2017, 3:48am UTC](https://forum.ionicframework.com/t/alertcontroller-input-label-or-handler/84043/1 "2017-03-24T03:48:46Z")

</div>

Hello I have this alert in Ionic 2. I can get the value of selected Radio button. But I also need the Label for that radio.

> I would like to know if there’s a way I can do this to get the Label or Handler on the Input so I can control after it was click and capture the label.

Thanks in Advance

```
let alert = this.alert.create({
        title: this.title,
        subTitle: this.subtitle,
        message : this.message,
        inputs : this.makeInputs(),
        buttons: [
            {
                text : "Cancel",
                handler : () => {

                }
            },
            {
                text : "Ok",
                handler : (data) =>{
                    this.value = data;
                    this.valueChange.emit(data); //emit the chosen value
                }
            }
        ]
    });
    alert.present();

```

---

<div class="post-metadata">

**Author:** ![peela](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/peela/32/126820_2.png) [@peela](https://forum.ionicframework.com/u/peela)\
**Post date:** [July 9, 2019, 8:30pm UTC](https://forum.ionicframework.com/t/alertcontroller-input-label-or-handler/84043/2 "2019-07-09T20:30:30Z")

</div>

I am also with similar use case. Did you get any luck?
