Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How save on database new inputs?


Recommended Posts

  • 2 weeks later...

You need to add the elements into the form. Here is an example:

<div class="contentText">
    <div class="form-group has-feedback">
      <label for="inputMessage" class="control-label col-xs-3"><?php echo FORM_TITLE_FRIEND_MESSAGE; ?></label>
      <div class="col-xs-9">
        <?php
        echo tep_draw_textarea_field('message', 'soft', 40, 8, NULL, 'required aria-required="true" id="inputMessage" placeholder="' . FORM_TITLE_FRIEND_MESSAGE . '"');
        echo FORM_REQUIRED_INPUT;
        ?>
***Add new form elements here - radio buttons, drop down selection, text etc etc***
      </div>
    </div>
  </div>

  <div class="buttonSet">
    <span class="buttonAction"><?php echo tep_draw_button(IMAGE_BUTTON_CONTINUE, 'glyphicon glyphicon-send', null, 'primary'); ?></span>

Does that help?

osCommerce user since 2003! :thumbsup:

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...