javascript will prevent user from typeing anything but numbers..
php can check if after submiting but for checking well entering use JS
add this to you Field tag...
onKeypress="if(!isNS4){if(event.keyCode < 45 || event.keyCode > 57) event.returnValue = false;}else{if(event.which < 45 || event.which > 57) returnfalse;}"
NOTE ABOVE IS JAVASCRIPT, not php
that will allow use to limit key use (numbers) its limited to browser capablity