sunnygirl Posted November 6, 2008 Share Posted November 6, 2008 Dear all, I'm new to os commerce and trying to customize the order form... I wish to add a radio button where customer get to choose whether to send the order to receiver in the morning or afternoon. so i do like below... <?php echo tep_draw_radio_field('delivery_time', 'm', $morning) . ' ' . MORNING . ' ' . tep_draw_radio_field('delivery_time', 'a', $afternoon) . ' ' . AFTERNOON . ' ' . (tep_not_null(ENTRY_DELIVERY_TIME_TEXT) ? '<span class="inputRequirement">' . ENTRY_DELIVERY_TIME_TEXT . '</span>': ''); ?> The problem is.. I don't get to do validation whether the radio button is selected as I wish to make it a required field. I also having problem to keep the selection to session.. Can anyone please guide me? Thanks! Link to comment Share on other sites More sharing options...
ozEworks Posted November 9, 2008 Share Posted November 9, 2008 There was a contribution for florists that allowed people to pick a date. I think it also allowed a time. Maybe that will help you? Link to comment Share on other sites More sharing options...
sunnygirl Posted November 9, 2008 Author Share Posted November 9, 2008 There was a contribution for florists that allowed people to pick a date. I think it also allowed a time. Maybe that will help you? 'FlyingKites, thanks for your reply... really? can you share me the link? sorry ya, I'm very new in osCommerce... Link to comment Share on other sites More sharing options...
sunnygirl Posted November 9, 2008 Author Share Posted November 9, 2008 'FlyingKites, thanks for your reply... really? can you share me the link? sorry ya, I'm very new in osCommerce... FlyingKites, I found the link... Let me try to apply it now... Thanks so much!!! :) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.