Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help Getting Form Field Inside Of Form Tag?


Guest

Recommended Posts

Hello, I am using the loaded 3 version of osCommerce and I am trying to apply the must agree to terms mod. here is the problem I had to play around with the checkout_confirm.php to get it going because of version conflicts. I am almost there but it is putting the checkboxbox form field before the actual form. here is the code:

 

             <!--Start AGB Agreement form -->

             <?php echo CONDITION_AGREEMENT; ?> 

             <input type="checkbox" value="0" name="agree">

             <!--Ende AGB Agreement form -->

           <br>  <?php echo tep_draw_separator('pixel_silver.gif', '100%', '1'); ?> 

           </p>

           <p>

             <?php

 if (isset($$payment->form_action_url)) {

   $form_action_url = $$payment->form_action_url;

 } else {

   $form_action_url = tep_href_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL');

 }



 echo tep_draw_form('checkout_confirmation', $form_action_url, 'post');



 if (is_array($payment_modules->modules)) {

   echo $payment_modules->process_button();

 }



 echo tep_image_submit('button_confirm_order.gif', IMAGE_BUTTON_CONFIRM_ORDER) . '</form>' . "n";

?>

what I want to do is put the checkbox in the form but above the checkout button? Any help is greatly appreciated.

Thanks

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...