Gravity Forms Display Script

I have a GF form that lets a user radio-select a page. When the form is saved, the confirmation redirects to the chosen page, which holds another form. The radio-selection value is passed as a variable and stored as a custom field when this 2nd form is saved. All the data gets stored as a custom post of type 'movement'.

I have a script for displaying the post that's not getting the right information, and not displaying the fields. According to the GF log, when the user selects (for example) "Movement in Time" from the 1st form, what gets passed as variable 'movement_type' is

"?movement_type=Movement+in+Time".

The script looks for a condition like this:

elseif(genesis_custom_field('movement_type') == "Movement in Time")

but never finds it. This is true for all radio options on the 1st form.

Here's the script:

add_action( 'genesis_entry_header', 'movement_custom_fields', 20 );
function movement_custom_fields() {
	if(is_singular('movement') ) {
 		echo "<div style='text-align:center;'>", genesis_custom_field('movement_heading'), "</div>";
	  	if(genesis_custom_field('movement_type') == "Movement in Blank") {
			echo "<div>", the_content(), "</div>";
		}
		elseif(genesis_custom_field('movement_type') == "Movement in Time") {
			echo "<div>", genesis_custom_field('time_intro'), "</div>";
			echo "<div>", genesis_custom_field('time_facts'), "</div>";
			echo "<div>", genesis_custom_field('time_defenses'), "</div>";
			echo "<div>", genesis_custom_field('time_additional'), "</div>";
		}
		elseif(genesis_custom_field('movement_type') == "Movement in Space") {
			echo "<div>", genesis_custom_field('space_facts'), "</div>";
			echo "<div>", genesis_custom_field('space_arguments'), "</div>";
			echo "<div>", genesis_custom_field('space_summary'), "</div>";
			echo "<div>", genesis_custom_field('space_compliance'), "</div>";
		}
		else {
			echo "<div>", the_content(), "</div>";
		}
 		echo "<div style='width: 50%; margin: 0px auto; text-align:left;'>&nbsp;</div>";
		echo "<div style='width: 50%; margin: 0px auto; text-align:left;'>", genesis_custom_field('movement_signature'), "</div>";
	  	echo '<p style="page-break-after:always;"></p>';
	}
}

I'd be very grateful for help debugging this. Happy to provide admin access as requested. TIA.