gate714 Posted July 6, 2009 Posted July 6, 2009 During checkout, is there a way to make the textatea "Add Comments About Your Order " field a mandatory entry???
♥ecartz Posted July 6, 2009 Posted July 6, 2009 What would be in the field? For example, if someone put a period and hit submit, would that be enough? What information do you want to have? Always back up before making changes.
gate714 Posted July 6, 2009 Author Posted July 6, 2009 I already have the field populated with some text describing what to add. So even a period would be OK.
gate714 Posted July 6, 2009 Author Posted July 6, 2009 Here is the code I am trying to make mandatory input of any character: from checkout_payment.php <?php echo tep_draw_infoBox_top();?> <table border="0" width="100%" cellspacing="0" cellpadding="2"><tr> <td><?php echo tep_draw_textarea_field('comments', 'soft', '60', '5', 'PO#:[ ] Job#:[ ]', $comments); ?></td> </tr> </table> <?php echo tep_draw_infoBox_bottom();?>
Recommended Posts
Archived
This topic is now archived and is closed to further replies.