Get radio selection in gform_confirmation [RESOLVED]

I have a radio selection in a form and need to redirect within gform_confirmation function based on the selection. Not sure how to get the value within the function.

if( **CHECK FOR RADIO SELECTION 'annual'** ) {
        	WC()->cart->add_to_cart( 13356, 1 );
    	} elseif( **CHECK FOR RADIO SELECTION 'once'** ) {
        	WC()->cart->add_to_cart( 13316, 1 );
    	}

Here is my input -

<input class="gfield-choice-input" name="input_63" type="radio" value="Annual auto renewal" checked="checked" id="choice_1_63_0" onchange="gformToggleRadioOther( this )">

Hi Jon. Can you send a link where we can see the form online, or can you share a screenshot of the option values for the radio button field or fields? Thank you.

I had to use rgar() -

if( rgar( $entry, '63' ) == 'annual' ) {
        	WC()->cart->add_to_cart( 13356, 1 );
    	} elseif( rgar( $entry, '63' ) == 'once' ) {
        	WC()->cart->add_to_cart( 13316, 1 );
    	}

Perfect. That is what I was going to suggest. I’m glad you figured that out.