for a select list, click the dynamic button in the property inspector, and use the following code for the Select Value Equal To option:
<?php ((isset($_GET['failed']))?(ValidatedField("confirm","cc_type")):(isset($_SESSION['eCartCheckoutForm_cc_type'])?$_SESSION['eCartCheckoutForm_cc_type']:"")) ?>