User Tools

Site Tools


tutorials:zencartmods:comments_max_length.html

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
tutorials:zencartmods:comments_max_length.html [2011/08/24 17:50]
ladyada
tutorials:zencartmods:comments_max_length.html [2011/08/24 21:09]
ladyada [Text box length limits]
Line 4: Line 4:
 {{:​tutorials:​zencartmods:​limitcomment.png?​|}} {{:​tutorials:​zencartmods:​limitcomment.png?​|}}
  
-Here's a quick way to limit the length of customer comments on your invoices using javascript. Essentially,​ this is just a script to limit the size of a **<​textarea>​** element. This can be handy when you want to keep comment fields short +Here's a quick way to limit the length of customer comments on your invoices using javascript. Essentially,​ this is just a script to limit the size of a **<​textarea>​** element. This can be handy when you need to make sure a text field doesn'​t have too much text in it...
  
 in both **includes/​templates/​YOUR_TEMPLATE/​templates/​tpl_checkout_shipping_default.php** and **includes/​templates/​YOUR_TEMPLATE/​templates/​tpl_checkout_payment_default.php** in both **includes/​templates/​YOUR_TEMPLATE/​templates/​tpl_checkout_shipping_default.php** and **includes/​templates/​YOUR_TEMPLATE/​templates/​tpl_checkout_payment_default.php**
/home/ladyada/public_html/wiki/data/pages/tutorials/zencartmods/comments_max_length.html.txt · Last modified: 2016/01/28 18:05 (external edit)