alexis.791 Posted January 13, 2016 Share Posted January 13, 2016 HI. I add two new inputs text on my website,So I want to save the information in the database when submit function is clicking.Someone knows how edit the function or how tep_draw_button (submit) works?. thanks. Link to comment Share on other sites More sharing options...
frankl Posted January 24, 2016 Share Posted January 24, 2016 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! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.