Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

checking forms


ryanf

Recommended Posts

Posted

Hey, I need to check a form to make sure that when the customer orders a product, the attributes are filled in. The form header is this:

<form name="buy_now_" method="post" action="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=add_slave', 'NONSSL') . '">'; ?>

the submit is this:

<?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART); ?>

there are just two fields to check ring size and head size, both text fields.

 

 

Thanks for the help

Ryan

If I was crafty, this would be a funny signature.

Archived

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

×
×
  • Create New...