# Radio buttons in action script

**URL:** <https://forum.kirupa.com/t/radio-buttons-in-action-script/203923>\
**Category:** Uncategorized\
**Created:** [October 15, 2006, 5:02pm UTC](https://forum.kirupa.com/t/radio-buttons-in-action-script/203923 "2006-10-15T17:02:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ksuguy25](https://avatars.discourse-cdn.com/v4/letter/k/fbc32d/32.png) [@Ksuguy25](https://forum.kirupa.com/u/Ksuguy25)\
**Post date:** [October 15, 2006, 5:02pm UTC](https://forum.kirupa.com/t/radio-buttons-in-action-script/203923/1 "2006-10-15T17:02:27Z")

</div>

Greetings Fellow Programmers 🙂

I’m new here so hows everyone. Listen i need some help on something that i’m working on.

I am building a new member form for a webpage that i’m doing. They want me to do text input and radio buttons for classification of years. EG. Freshman, Sophomore, etc in flash 8

```auto

    gatherForm.visitor_LastName = contactForm.userLastName.text;
    gatherForm.visitor_name = contactForm.userName.text;
    gatherForm.visitor_email = contactForm.userEmail.text;
    gatherForm.visitor_origin = contactForm.userOrigin.text;

```

That is for text input and I fully got that under my belt but for radio buttons would i write the same action script if it were for text input?

```auto

    gatherForm.visitor_freshman = contactForm.userFreshman.text;
    gatherForm.visitor_sophomore = contactForm.userSophomore.text;
    gatherForm.visitor_junior = contactForm.userJunior.text;
    gatherForm.visitor_senior = contactForm.userSenior.text;

```

Freshman, Sophomore are my instances (in the property inspector)  
Please help, Thanks.

Gabriel
