View Single Post
  #4  
Old 05-31-2012, 10:54 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Changing the "customer notes" field at checkout to accept numbers only or limited cha

You can modify that template and replace <textarea> with <input type="text" size="32" maxlength="32" ....> which will make it 32 characters limit. As for the numbers only part you can apply some javascript that will check this. You will also have to do the same in the php script - server side check - to make sure posted data is good
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote