# HELP with RADIO BUTTONS NOT SENding value to form,

**URL:** <https://forum.kirupa.com/t/help-with-radio-buttons-not-sending-value-to-form/14679>\
**Category:** flash\
**Created:** [March 1, 2003, 5:57am UTC](https://forum.kirupa.com/t/help-with-radio-buttons-not-sending-value-to-form/14679 "2003-03-01T05:57:17Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![lastdon](https://avatars.discourse-cdn.com/v4/letter/l/9f8e36/32.png) [@lastdon](https://forum.kirupa.com/u/lastdon)\
**Post date:** [March 1, 2003, 5:57am UTC](https://forum.kirupa.com/t/help-with-radio-buttons-not-sending-value-to-form/14679/1 "2003-03-01T05:57:17Z")

</div>

hello  
i have made an email form with flash  
but all the values BUT the radio buttons are not being send to the form

all the input text ones seem to work fine  
but i can’t figure out why the radio button groups are not  
i have a whole bunch

please help

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 1, 2003, 8:23am UTC](https://forum.kirupa.com/t/help-with-radio-buttons-not-sending-value-to-form/14679/2 "2003-03-01T08:23:58Z")

</div>

Howdy…

See [this thread](http://www.kirupaforum.com/showthread.php?s=&postid=124495#post124495)…

There is no reason for creating a new thread when there is exactly same problem already posted… =)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 2, 2003, 7:39am UTC](https://forum.kirupa.com/t/help-with-radio-buttons-not-sending-value-to-form/14679/3 "2003-03-02T07:39:19Z")

</div>

Howdy…

I have checked your file…

I do not see your file any different from mug’s file… and I have no intention of doing the same example twice…

Why don’t you open up the example that I have made for mug and apply the code in your file??? Let me know if you get stuck or something… I’ll be happy to assist you… 😉

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 3, 2003, 6:57am UTC](https://forum.kirupa.com/t/help-with-radio-buttons-not-sending-value-to-form/14679/4 "2003-03-03T06:57:14Z")

</div>

hey when u did mugs thing

u have something

\_level0

is that \_root? the equivalent to it?

cause i have a whole bunch of radio buttons as i had posted  
“”"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""  
function HaveYouBeen1(component)  
{  
\_level0.HaveYouBeenTo = component.getValue();  
}  
“”"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""  
so doooo i have to put under that level more levels?  
or do i close it off and then start a new function havebeen1 again etc etc and then close it off and start for each dot thata i have?

cause really what i need is to be stored to a database, so when i hit retrieve the variable we be loaded up again on the form with out the person haVing to fill them out!!  
so basically an sql database or something…

will it wrok with these commmands  
my file is on  
if u want to take a look at it  
[http://members.rogers.com/lastdon00/help.zip](http://members.rogers.com/lastdon00/help.zip)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 4, 2003, 5:25am UTC](https://forum.kirupa.com/t/help-with-radio-buttons-not-sending-value-to-form/14679/5 "2003-03-04T05:25:22Z")

</div>

Howdy…

Yes and No… \_root is the same thing as \_level0 if you are not loading anything, but it is not if they are used in the loaded movie… You can read some more about this stuff from searching for the ‘path’ in Flash…

> so doooo i have to put under that level more levels?  
> or do i close it off and then start a new function havebeen1 again etc etc and then close it off and start for each dot thata i have?  
> If I have understoodd your question correctly, Yes… You will have to create one function to each questionairs…

> so when i hit retrieve the variable we be loaded up again on the form with out the person haVing to fill them out!!  
> I am not getting any meaning out of this sentence… What do you mean??? ☹

> if u want to take a look at it  
> [http://members.rogers.com/lastdon00/help.zip](http://members.rogers.com/lastdon00/help.zip)  
> I don’t know why you are keep forcing me to do your job… Didn’t I make myself clear??? I did one already… I did it so that other people can take a look at it and make it themselves… Go over the crappy code that I have in there, and try to make it yours… And ask questions if you have any… I am here to help others, I am not here to do other people’s homework… Alrighty??? :cowboy:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 4, 2003, 5:36am UTC](https://forum.kirupa.com/t/help-with-radio-buttons-not-sending-value-to-form/14679/6 "2003-03-04T05:36:44Z")

</div>

:crazy: dam kid relax i ain’t forcing anybody to do my work  
i posted the link up, so u knew what i was talking  
“I don’t know why you are keep forcing me to do your job”

i didn’t put a knife to ur throat so take a chill pill

chillax dude.

just posted a link to see if \_root what i had  
was the same as \_level0

mamamia…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 4, 2003, 5:47am UTC](https://forum.kirupa.com/t/help-with-radio-buttons-not-sending-value-to-form/14679/7 "2003-03-04T05:47:56Z")

</div>

Oh… I’m sorry… I am kinda lack of sleep these days… ☹

You can just copied and pasted your script for that… If your given script is what you are talking about, yes it is the same thing…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 4, 2003, 6:03am UTC](https://forum.kirupa.com/t/help-with-radio-buttons-not-sending-value-to-form/14679/8 "2003-03-04T06:03:18Z")

</div>

yeh i just couldnt under where u had gotten the \_level1  
cause i was use to seeing \_root

so i was a lil confused.

HaveYouBeen.setChangeHandler(“HaveYouBeen1”);  
function HaveYouBeen1(component)  
{  
\_level0.HaveYouBeenTo = component.getValue();  
}

i am not worried about the input text cause i know it works  
just the radio buttons  
i just rename it to  
radioGroupp.set blha blha blha

and put\_root on release and i guess it should work then?

what i had asked before, i can store this data, and then when i was to recall the page back up, the data will still be there,

like how cookies work with explorer

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 4, 2003, 6:13am UTC](https://forum.kirupa.com/t/help-with-radio-buttons-not-sending-value-to-form/14679/9 "2003-03-04T06:13:26Z")

</div>

> yeh i just couldnt under where u had gotten the \_level1  
> cause i was use to seeing \_root

so i was a lil confused.  
Well… I haven’t used \_level1 in there… \_level0, I think… If you are new to Flash and haven’t seen \_level0 yet, I think it is good time to learn… Like I was saying, go over the Flash path stuff… It’s really important to know what the differences…

> HaveYouBeen.setChangeHandler(“HaveYouBeen1”);  
> function HaveYouBeen1(component)  
> {  
> \_level0.HaveYouBeenTo = component.getValue();  
> }

i am not worried about the input text cause i know it works  
just the radio buttons  
i just rename it to  
radioGroupp.set blha blha blha

and put\_root on release and i guess it should work then?  
If I remember correctly, HaveYouBeen was the name of the radio button group… So, replace it with your group name and change the name of the function accordingly, and I think it should work… If it doesn’t, copy and paste your source for it… and use [php] tag to format the code… (If you need to know how to do code formatting, see [here](http://www.kirupaforum.com/misc.php?action=bbcode#buttons))

> what i had asked before, i can store this data, and then when i was to recall the page back up, the data will still be there,

like how cookies work with explorer  
I am not sure if there is any question in that paragraph, but yes… it all depends on how you save the user’s input data to the database and load the data again when it is necessary…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 4, 2003, 6:20am UTC](https://forum.kirupa.com/t/help-with-radio-buttons-not-sending-value-to-form/14679/10 "2003-03-04T06:20:41Z")

</div>

thanks bro

it worked

thanks for the help  
and sorry for the hassle

and there was a question about i just didn’t word it probably

yeh I need to store the information on a database and retreive it when i want, so i have a retrieve button i made

with the sendandLoad command,

thanks again  
i learned some more thanks to u

grazies

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 4, 2003, 6:29am UTC](https://forum.kirupa.com/t/help-with-radio-buttons-not-sending-value-to-form/14679/11 "2003-03-04T06:29:16Z")

</div>

I AM glad that you got it working… Good job, lastdon… I’m proud of you… Really… :rambo:

I hope I wasn’t too hard on you… But I AM sure you have gotten learned much more thatn me doing that file for you and you go over it afterwards… Don’t you think so??? :beam:

Oh, yes… LoadVars() object does good job calling server side script…

Keep up the good work… 😉

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 4, 2003, 6:32am UTC](https://forum.kirupa.com/t/help-with-radio-buttons-not-sending-value-to-form/14679/12 "2003-03-04T06:32:56Z")

</div>

yeh man, thanks i was just really frastrauted

cause i could see the text go through fine,and i am used to HTML and everything is a so much simipler with html that  
it was pissing me off

thanks again

:cool:

it took me a week of searchiing the net to find a reliable helpful forum  
thanks!

🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 4, 2003, 7:02am UTC](https://forum.kirupa.com/t/help-with-radio-buttons-not-sending-value-to-form/14679/13 "2003-03-04T07:02:02Z")

</div>

:rambo:
