Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Restrict Text Field To Numeric Characters Only
 
amcmahon
Jr. Member
 
Total Posts:  2
Joined:  2011-03-18
 

How do you restrict a text field attribute to accept only numeric, whole numbers and/or numeric, decimal numbers? We just installed the Advanced Variation Pricing Extension from MicroSolutions that works with text fields, but it allows customers on the front end to enter anything in the text field. We need to ensure customers enter proper lengths and widths so they receive the right sized product, and we are charging them appropriately.

Thanks!

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top