Text becomes user Input before submission

Im trying to allow the user to review their input at the bottom of a form. I want the form to be able to diplay what the user selected in a radio box above. I tried this but it is not working… Thanks in advance.

export function height_change($w) {
if ($w(“#height”).value === ‘Low’){
$w(“#text36”) === ‘Low’;
}
else if ($w(‘#height’).value === ‘High’) {
$w(‘#text36’) === ‘High’;
}

You can do it with no code. Connect the text element, #text36, to the same dataset field #height connected too.

I thought that connecting them to the same dataset would make it stay blank until the form was submitted…thank you!