# Transfering data from one page to another

**URL:** <https://forum.kirupa.com/t/transfering-data-from-one-page-to-another/6010>\
**Category:** flash\
**Created:** [September 27, 2002, 2:10pm UTC](https://forum.kirupa.com/t/transfering-data-from-one-page-to-another/6010 "2002-09-27T14:10:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lynott](https://avatars.discourse-cdn.com/v4/letter/l/7bcc69/32.png) [@lynott](https://forum.kirupa.com/u/lynott)\
**Post date:** [September 27, 2002, 2:10pm UTC](https://forum.kirupa.com/t/transfering-data-from-one-page-to-another/6010/1 "2002-09-27T14:10:21Z")

</div>

Can someone help please?

I have 2 radio Buttons in a group called train1.

I am trying to carry the label of the selected radio button to a dynamic text field on another page(frame).

I have tried this

```auto
function onClick(btn) {
	if (btn == submit_btn) {
		getResults();
		gotoAndStop("pg2");
	}
	else if (btn == return_btn) {
		gotoAndStop("pg1");
	}
}

function getResults() {
	train1_results = train1.getSelectedItem().label;
}

```

train1\_results is the var name of the dynamic text field on pg2.

Nothing is being carried forward.

Thanks in advance.

L.

---

<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:** [September 27, 2002, 2:53pm UTC](https://forum.kirupa.com/t/transfering-data-from-one-page-to-another/6010/2 "2002-09-27T14:53:23Z")

</div>

I got it, if anyone is interested

replace

train1\_results = train1.getSelectedItem().label;

with

train1\_results = train1.getValue();

very annoy that was!

🙂

L.
