Transfering data from one page to another

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

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.

I got it, if anyone is interested

replace

train1_results = train1.getSelectedItem().label;

with

train1_results = train1.getValue();

very annoy that was!

:slight_smile:

L.