Input value= help on checkout_form.php for ps4_orders table insert.
Hi Jason, I got the the fields added to the checkout_form and updated the store_cart.php recordset values correctly I believe. However I need your assistance with the proper code to use as the "value" for the input fields. I am using radio groups therefore I couldn't copy one of the existing fields. Plus, the existing fields have additional code in the values as they do the same as billing info check etc.
Here is the "value" code for one of the current input text fields in the shipping section:
<?php echo((isset($_GET['valid']))?(ValidatedField("confirm","shipping_firstname")):(isset($_SESSION["eCartCheckoutForm_shipping_firstname"])?$_SESSION["eCartCheckoutForm_shipping_firstname"]:$row_WAATKusers['UserFirstName'])); ?>
What is the part of this code that I would need for my radio button values? Assuming my radio button name is OrderMode