title: How to prevent user from entering decimals?
body: <p>I've got an order page on my site. Some order items can have decimal quantities, some can't. </p>
  
  <p>What's the best way to prevent the user from entering decimal quantities? (Apart from an alert box and setting the field to zero)?</p>