# Problem with radiobutton

**URL:** <https://forum.kirupa.com/t/problem-with-radiobutton/144453>\
**Category:** Uncategorized\
**Created:** [April 14, 2005, 12:52pm UTC](https://forum.kirupa.com/t/problem-with-radiobutton/144453 "2005-04-14T12:52:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dj\_Dove](https://avatars.discourse-cdn.com/v4/letter/d/35a633/32.png) [@Dj\_Dove](https://forum.kirupa.com/u/Dj_Dove)\
**Post date:** [April 14, 2005, 12:52pm UTC](https://forum.kirupa.com/t/problem-with-radiobutton/144453/1 "2005-04-14T12:52:23Z")

</div>

Hi all,

I’m try to do a form, but I have a problem.

In my form I have (radio button):

Wich color ?

- Green
- Red
- Blue

the parameters I have defined :

groupName = question1  
Component = Green, Red and Blue

when I click on the submit button, I can’t display the value in the next form.

in my code I use :

**Result.text = "Answer : " + question1.getValue();**

and this won’t works ☹

What is wrong ?

Thanks

Alex
